Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Brand Search List: Difference between revisions

testing a new idea
 
m Protected "Template:Brand Search List": High traffic page: No need to edit ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
|Supermac%27s = {Supermac's}:1,
<includeonly>{{#ifeq: {{{type|}}} | template | Template: }}{{#switch: {{{1|}}}
|McDonald%27s = {McDonald's}:1,
|Any =
|M%26S Simply Food = {M&S Simply Food}:1,
|Supermac%27s
|McDonald%27s Drive Thru = {McDonald's}:1,
|Supermac%27s Drive Thru = {Supermac's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Supermac's Drive Thru}
|Supermac%27s Drive Thru = {Supermac's}:1,
|McDonald%27s
|Nando%27s = {Nando's}:1,
|McDonald%27s Drive Thru = {McDonald's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{McDonald's Drive Thru}
|BP = {BP}:1,
|M%26S Simply Food = {M&S Simply Food}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{M&S Food}
|Burger King Drive Thru = {Burger King}:1,
|Dunkin%27 Donuts = {Dunkin' Donuts}
|Burger King = {Burger King}:1,
|Domino%27s = {Domino's}
|Costa = {Costa}:1,
|Nando%27s = {Nando's}
|Costa Express = {Costa Express}:1,
|BP = {BP}
|Chozen Noodle = {Chozen Noodle}:1,
|Burger King Drive Thru
|Deli by Shell = {Deli by Shell}:1,
|Burger King = {Burger King}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Burger King Drive Thru}
|JET = {JET}:1,
|Costa Drive Thru
|Fresh Food Cafe = {Fresh Food Cafe}:1,
|Costa Coffee
|Chopstix Noodle Bar = {Chopstix Noodle Bar}:1,
|Costa = {Costa Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Costa Drive Thru}
|Ramada = {Ramada}:1,
|Costa Express = {Costa Express}
|Days Inn = {Days Inn}:1,
|Chozen Noodle = {Chozen Noodle}
|KFC Drive Thru = {KFC}:1,
|Deli by Shell = {Deli by Shell}
|Chow = {Chow}:1,
|JET = {JET}
|Costa Drive Thru = {Costa Drive Thru}:1,
|Phat Pasty
|Starbucks Drive Thru = {Starbucks Drive Thru}:1,
|The Phat Pasty Co
|Greggs Drive Thru = {Greggs}:1,
|Phat Pasty Co = {Phat Pasty Co}
|Greggs = {Greggs}:1,
|Petite Camile = {Petite Camile}
|Braeburn Coffee = {Braeburn Coffee}:1,
|Fresh Food Cafe = {Fresh Food Cafe}
|Braeburn Drive Thru = {Braeburn Coffee}:1,
|Chopstix Noodle Bar = {Chopstix Noodle Bar}
|Ibis Budget = {Ibis Budget}:1,
|Ramada = {Ramada}
|El Mexicana = {El Mexicana}:1,
|Game Zone = {Game Zone}
|Coco Di Mama = {Coco Di Mama}:1,
|Days Inn = {Days Inn}
|LEON = {LEON}:1,
|Chow = {Chow}
|PizzaExpress = {PizzaExpress}:1,
|Garden Square Deli
|The Bakewell = {The Bakewell}:1,
|The Garden Square Deli = {Garden Square Deli}
|Esso = {Esso}:1,
|Greggs Drive Thru
|ASDA = {ASDA}:1,
|Greggs = {Greggs}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Greggs Drive Thru}
|The Good Breakfast = {The Good Breakfast}:1,
|Braeburn Coffee
|Hot Food Co = {Hot Food Co}:1,
|Braeburn Drive Thru = {Braeburn Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Braeburn Drive Thru}
|KFC = {KFC}:1,
|Ibis
|Brewers Fayre = {Brewers Fayre}:1,
|Ibis Budget = {Ibis Budget}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Ibis}
|Taco Bell = {Taco Bell}:1,
|El Mexicana = {El Mexicana}
|Brightside = {Brightside}:1,
|Tapori = {Tapori}
|Krispy Kreme = {Krispy Kreme}:1,
|Coco di Mama
|Co-op Food = {Co-op Food}:1,
|Coco Di Mama = {Coco di Mama}
|Morrisons = {Morrisons}:1,
|LEON = {LEON}
|Tesco = {Tesco}:1,
|PizzaExpress = {PizzaExpress}
|Beefeater = {Beefeater}:1,
|The Bakewell = {The Bakewell}
|Table Table = {Table Table}:1,
|Esso = {Esso}
|Brewers Fayre = {Brewers Fayre}:1,
|Wash.ME
|The Cornish Bakery = {The Cornish Bakery}:1,
|Wash ME
|Applegreen = {Applegreen}:1,
|Revolution
|Shell = {Shell}:1,
|Revolution Laundry = {Wash ME}
|SPAR = {SPAR}:1,
|Asda Express
|Starbucks = {Starbucks}:1,
|ASDA Express
|Subway = {Subway}:1,
|ASDA = {ASDA}
|Texaco = {Texaco}:1,
|The Good Breakfast = {The Good Breakfast}
|Travelodge = {Travelodge}:1,
|Select = {Select}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Budgens}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Little Waitrose}
|Top Gift = {Top Gift}:1,
|Budgens = {Budgens}
|Circle K = {Circle K}:1,
|KFC Drive Thru
|WHSmith = {WHSmith}:1,
|KFC = {KFC}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{KFC Drive Thru}
|Nisa = {Nisa}:1,
|Brewers Fayre = {Brewers Fayre}
|Lavazza = {Lavazza}:1,
|Taco Bell Drive Thru
|Gulf = {Gulf}:1,
|Taco Bell = {Taco Bell}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Taco Bell Drive Thru}
|Quicksilver = {Quicksilver}:1,
|Brightside = {Brightside}
|Costcutter = {Costcutter}:1,
|Cantina = {Cantina}
|Domino%27s = {Domino's}:1,
|Offbeat Donuts
|Harvester = {Harvester}:1,
|Offbeat = {Offbeat Donuts}
|Mace = {Mace}:1,
|Krispy Kreme = {Krispy Kreme}
|Pizza Hut = {Pizza Hut}:1,
|Co-op
|Dunkin%27 Donuts = {Dunkin' Donuts}:1,
|Co-op Food = {Co-op Food}
|Murco = {Murco}:1,
|Morrisons Daily
|OK Diner = {OK Diner}:1,
|Morrisons = {Morrisons}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Morrisons Daily}
|TotalEnergies = {TotalEnergies}:1,
|Tesco Express
|Waitrose = {Premier Inn}:1,
|Tesco = {Tesco}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Tesco Express}
|Holiday Inn = {Holiday Inn}:1,
|Beefeater = {Beefeater}
|Waitrose = {Waitrose}:1,
|Table Table = {Table Table}
|West Cornwall Pasty Co = {West Cornwall Pasty Co}:1,
|Brewers Fayre = {Brewers Fayre}
|New York Bakery Co = {New York Bakery Co}:1,
|The Cornish Bakery
|Wild Bean Cafe = {Wild Bean Cafe}:1,
|Cornish Bakery = {Cornish Bakery}
|Applegreen = {Applegreen}
|Shell = {Shell}
|SPAR Express
|SPAR = {SPAR}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{SPAR Express}
|Starbucks Drive Thru
|Starbucks = {Starbucks}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Starbucks Drive Thru}
|Subway = {Subway}
|Texaco = {Texaco}
|Travelodge = {Travelodge}
|Top Gift = {Top Gift}
|Phone Tech = {Phone Tech}
|Circle K = {Circle K}
|WHSmith = {WHSmith}
|Nisa Local
|Nisa = {Nisa}
|Lavazza = {Lavazza}
|Gulf = {Gulf}
|Select = {Select}
|Quicksilver = {Quicksilver}
|Costcutter = {Costcutter}
|Harvester = {Harvester}
|Mace = {Mace}
|Pizza Hut = {Pizza Hut}
|Murco = {Murco}
|OK Diner = {OK Diner}
|TotalEnergies = {TotalEnergies}
|Premier Inn = {Premier Inn}
|Freshii = {Freshii}
|Holiday Inn Express
|Holiday Inn = {Holiday Inn}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Holiday Inn Express}
|Little Waitrose
|Waitrose = {Waitrose}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Little Waitrose}
|West Cornwall Pasty Co = {West Cornwall Pasty Co}
|Wild Bean Cafe = {Wild Bean Cafe}
|#default = {Dir} }}{{#ifeq: {{{1|}}} | Any || {{#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.
[[Category:Templates|Brand Search List]][[Category:Facility Templates| ]][[Category:Facility Templates IE| ]][[Category:Hide From Drop-Down]]<templatedata>
{
"params": {
"1": {
"label": "Brand Requested",
"description": "Tells us what brand is requested.",
"example": "KFC",
"type": "string",
"required": true
},
"type": {
"label": "Format",
"description": "Formats the output depending on which part of the search engine wants it.",
"example": "main, kml or template",
"type": "string",
"suggested": true
}
},
"description": "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.",
"format": "inline",
"paramOrder": [
"type",
"1"
]
}
</templatedata></noinclude>

Latest revision as of 21:36, 29 March 2025

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