Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Brand Search List: Difference between revisions

m if it helped, I could take that one away
m OK, it still won't read the template
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}
<includeonly>{{#ifeq: {{{type|}}} | template | Template: }}{{#switch: {{{1|}}}
|Any =  
|Any =  
|Supermac%27s
|Supermac%27s
|Supermac%27s Drive Thru = Supermac's{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Supermac's Drive Thru
|Supermac%27s Drive Thru = {Supermac's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Supermac's Drive Thru}
|McDonald%27s
|McDonald%27s
|McDonald%27s Drive Thru = McDonald's{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}McDonald's Drive Thru
|McDonald%27s Drive Thru = {McDonald's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{McDonald's Drive Thru}
|M%26S Simply Food = M&S Simply Food{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}M&S Food
|M%26S Simply Food = {M&S Simply Food}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{M&S Food}
|Dunkin%27 Donuts = Dunkin' Donuts
|Dunkin%27 Donuts = {Dunkin' Donuts}
|Domino%27s = Domino's
|Domino%27s = {Domino's}
|Nando%27s = Nando's
|Nando%27s = {Nando's}
|BP = BP
|BP = {BP}
|Burger King Drive Thru
|Burger King Drive Thru
|Burger King = Burger King{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Burger King Drive Thru
|Burger King = {Burger King}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Burger King Drive Thru}
|Costa Drive Thru
|Costa Drive Thru
|Costa Coffee
|Costa Coffee
|Costa = Costa Coffee{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Costa Drive Thru
|Costa = {Costa Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Costa Drive Thru}
|Costa Express = Costa Express
|Costa Express = {Costa Express}
|Chozen Noodle = Chozen Noodle
|Chozen Noodle = {Chozen Noodle}
|Deli by Shell = Deli by Shell
|Deli by Shell = {Deli by Shell}
|JET = JET
|JET = {JET}
|Fresh Food Cafe = Fresh Food Cafe
|Fresh Food Cafe = {Fresh Food Cafe}
|Chopstix Noodle Bar = Chopstix Noodle Bar
|Chopstix Noodle Bar = {Chopstix Noodle Bar}
|Ramada = Ramada
|Ramada = {Ramada}
|Days Inn = Days Inn
|Days Inn = {Days Inn}
|Chow = Chow
|Chow = {Chow}
|Greggs Drive Thru
|Greggs Drive Thru
|Greggs = Greggs{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Greggs Drive Thru
|Greggs = {Greggs}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Greggs Drive Thru}
|Braeburn Coffee
|Braeburn Coffee
|Braeburn Drive Thru = Braeburn Coffee{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Braeburn Drive Thru
|Braeburn Drive Thru = {Braeburn Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Braeburn Drive Thru}
|Ibis
|Ibis
|Ibis Budget = Ibis Budget{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Ibis
|Ibis Budget = {Ibis Budget}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Ibis}
|El Mexicana = El Mexicana
|El Mexicana = {El Mexicana}
|Coco Di Mama = Coco Di Mama
|Coco Di Mama = {Coco Di Mama}
|LEON = LEON
|LEON = {LEON}
|PizzaExpress = PizzaExpress
|PizzaExpress = {PizzaExpress}
|The Bakewell = The Bakewell
|The Bakewell = {The Bakewell}
|Esso = Esso
|Esso = {Esso}
|Asda Express
|Asda Express
|ASDA = ASDA
|ASDA = {ASDA}
|The Good Breakfast = The Good Breakfast
|The Good Breakfast = {The Good Breakfast}
|Select = Select{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Budgens{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Little Waitrose
|Select = {Select}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Budgens}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Little Waitrose}
|Budgens = Budgens
|Budgens = {Budgens}
|KFC Drive Thru
|KFC Drive Thru
|KFC = KFC{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}KFC Drive Thru
|KFC = {KFC}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{KFC Drive Thru}
|Brewers Fayre = Brewers Fayre
|Brewers Fayre = {Brewers Fayre}
|Taco Bell Drive Thru
|Taco Bell Drive Thru
|Taco Bell = Taco Bell{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Taco Bell Drive Thru
|Taco Bell = {Taco Bell}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Taco Bell Drive Thru}
|Brightside = Brightside
|Brightside = {Brightside}
|Krispy Kreme = Krispy Kreme
|Krispy Kreme = {Krispy Kreme}
|Co-op
|Co-op
|Co-op Food = Co-op Food
|Co-op Food = {Co-op Food}
|Morrisons Daily
|Morrisons Daily
|Morrisons = Morrisons{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Morrisons Daily
|Morrisons = {Morrisons}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Morrisons Daily}
|Tesco Express
|Tesco Express
|Tesco = Tesco{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Tesco Express
|Tesco = {Tesco}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Tesco Express}
|Beefeater = Beefeater
|Beefeater = {Beefeater}
|Table Table = Table Table
|Table Table = {Table Table}
|Brewers Fayre = Brewers Fayre
|Brewers Fayre = {Brewers Fayre}
|The Cornish Bakery = The Cornish Bakery
|The Cornish Bakery = {The Cornish Bakery}
|Applegreen = Applegreen
|Applegreen = {Applegreen}
|Shell = Shell
|Shell = {Shell}
|SPAR Express
|SPAR Express
|SPAR = SPAR{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}SPAR Express
|SPAR = {SPAR}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{SPAR Express}
|Starbucks Drive Thru
|Starbucks Drive Thru
|Starbucks = Starbucks{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Starbucks Drive Thru
|Starbucks = {Starbucks}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Starbucks Drive Thru}
|Subway = Subway
|Subway = {Subway}
|Texaco = Texaco
|Texaco = {Texaco}
|Travelodge = Travelodge
|Travelodge = {Travelodge}
|Top Gift = Top Gift
|Top Gift = {Top Gift}
|Circle K = Circle K
|Circle K = {Circle K}
|WHSmith = WHSmith
|WHSmith = {WHSmith}
|Nisa = Nisa
|Nisa = {Nisa}
|Lavazza = Lavazza
|Lavazza = {Lavazza}
|Gulf = Gulf
|Gulf = {Gulf}
|Select = Select
|Select = {Select}
|Quicksilver = Quicksilver
|Quicksilver = {Quicksilver}
|Costcutter = Costcutter
|Costcutter = {Costcutter}
|Harvester = Harvester
|Harvester = {Harvester}
|Mace = Mace
|Mace = {Mace}
|Pizza Hut = Pizza Hut
|Pizza Hut = {Pizza Hut}
|Murco = Murco
|Murco = {Murco}
|OK Diner = OK Diner
|OK Diner = {OK Diner}
|TotalEnergies = TotalEnergies
|TotalEnergies = {TotalEnergies}
|Premier Inn = Premier Inn
|Premier Inn = {Premier Inn}
|Freshii = Freshii
|Freshii = {Freshii}
|Holiday Inn Express
|Holiday Inn Express
|Holiday Inn = Holiday Inn{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Holiday Inn Express
|Holiday Inn = {Holiday Inn}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Holiday Inn Express}
|Little Waitrose
|Little Waitrose
|Waitrose = Waitrose{{#ifeq: {{{type|}}} | kml | }:1,{ | {{#ifeq: {{{type|}}} | main | },{ }} }}Little Waitrose
|Waitrose = {Waitrose}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Little Waitrose}
|West Cornwall Pasty Co = West Cornwall Pasty Co
|West Cornwall Pasty Co = {West Cornwall Pasty Co}
|New York Bakery Co = New York Bakery Co
|New York Bakery Co = {New York Bakery Co}
|Wild Bean Cafe = Wild Bean Cafe
|Wild Bean Cafe = {Wild Bean Cafe}
|#default = Dir }}{{#ifeq: {{{type|}}} | kml | }:1, | {{#ifeq: {{{type|}}} | main | }, }} }}</includeonly><noinclude>This template lists every brand template that people may want to search by. It is called upon by [[Services Search]] and [[Map:Services]], so we can find any labels associated with that branch, without allowing the user to enter whatever brand name they want.
|#default = {Dir} }}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}</includeonly><noinclude>This template lists every brand template that people may want to search by. It is called upon by [[Services Search]] and [[Map:Services]], so we can find any labels associated with that branch, without allowing the user to enter whatever brand name they want.


Note that brands with punctuation in their name have to be logged on those two pages too.
Note that brands with punctuation in their name have to be logged on those two pages too.
Line 107: Line 107:
"label": "Format",
"label": "Format",
"description": "Formats the output depending on which part of the search engine wants it.",
"description": "Formats the output depending on which part of the search engine wants it.",
"example": "main, kml or template"
"example": "main, kml or template",
"type": "string",
"suggested": true
}
}
},
},

Revision as of 22:26, 8 May 2024

This template lists every brand template that people may want to search by. It is called upon by Services Search and Map:Services, so we can find any labels associated with that branch, without allowing the user to enter whatever brand name they want.

Note that brands with punctuation in their name have to be logged on those two pages too.

This is an automatic template that takes data from other pages. To make changes, you need to find the page where that data is being hosted - normally a service area's page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Formattype

Formats the output depending on which part of the search engine wants it.

Example
main, kml or template
Stringsuggested
Brand Requested1

Tells us what brand is requested.

Example
KFC
Stringrequired