Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Brand Search List: Difference between revisions

m wrong word again
think we might have solved that problem now!
Line 1: Line 1:
<includeonly>{{#ifeq: {{{type|}}} | template | Template: }}{{#switch: {{{1|}}}
<includeonly>{{#ifeq: {{{type|}}} | template | Template: }}{{#switch: {{{1|}}}
|Any =  
|Any =  
|Supermac%27s = {Supermac's}
|Supermac%27s
|McDonald%27s = {McDonald's}
|Supermac%27s Drive Thru = {Supermac's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Supermac's Drive Thru}
|M%26S Simply Food = {M&S Simply Food}
|McDonald%27s
|McDonald%27s Drive Thru = {McDonald's}
|McDonald%27s Drive Thru = {McDonald's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{McDonald's Drive Thru}
|Supermac%27s Drive Thru = {Supermac's}
|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}
|Burger King Drive Thru
|Burger King = {Burger King}
|Burger King = {Burger King}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Burger King DRive Thru}
|Costa = {Costa Coffee}
|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}
Line 21: Line 22:
|Ramada = {Ramada}
|Ramada = {Ramada}
|Days Inn = {Days Inn}
|Days Inn = {Days Inn}
|KFC Drive Thru = {KFC}
|Chow = {Chow}
|Chow = {Chow}
|Costa Drive Thru = {Costa Coffee}
|Greggs Drive Thru
|Starbucks Drive Thru = {Starbucks}
|Greggs = {Greggs}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Greggs Drive Thru}
|Greggs Drive Thru = {Greggs}
|Braeburn Coffee
|Greggs = {Greggs}
|Braeburn Drive Thru = {Braeburn Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Braeburn Drive Thru}
|Braeburn Coffee = {Braeburn Coffee}
|Ibis
|Braeburn Drive Thru = {Braeburn Coffee}
|Ibis Budget = {Ibis Budget}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Ibis}
|Ibis Budget = {Ibis Budget}
|El Mexicana = {El Mexicana}
|El Mexicana = {El Mexicana}
|Coco Di Mama = {Coco Di Mama}
|Coco Di Mama = {Coco Di Mama}
Line 36: Line 35:
|The Bakewell = {The Bakewell}
|The Bakewell = {The Bakewell}
|Esso = {Esso}
|Esso = {Esso}
|ASDA Express
|ASDA = {ASDA Express}
|ASDA = {ASDA Express}
|The Good Breakfast = {The Good Breakfast}
|The Good Breakfast = {The Good Breakfast}
|Hot Food Co = {Hot Food Co}
|Hot Food Co = {Hot Food Co}
|KFC = {KFC}
|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 = {Taco Bell}
|Taco Bell = {Taco Bell}
|Brightside = {Brightside}
|Brightside = {Brightside}
|Krispy Kreme = {Krispy Kreme}
|Krispy Kreme = {Krispy Kreme}
|Co-op
|Co-op Food = {Co-op Food}
|Co-op Food = {Co-op Food}
|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 = {Tesco}
|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}
Line 53: Line 57:
|Applegreen = {Applegreen}
|Applegreen = {Applegreen}
|Shell = {Shell}
|Shell = {Shell}
|SPAR = {SPAR}
|SPAR Express
|Starbucks = {Starbucks}
|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}
|Subway = {Subway}
|Texaco = {Texaco}
|Texaco = {Texaco}
Line 74: Line 80:
|TotalEnergies = {TotalEnergies}
|TotalEnergies = {TotalEnergies}
|Premier Inn = {Premier Inn}
|Premier Inn = {Premier Inn}
|Holiday Inn = {Holiday Inn}
|Holiday Inn Express
|Waitrose = {Waitrose}
|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}
|West Cornwall Pasty Co = {West Cornwall Pasty Co}
|New York Bakery Co = {New York Bakery Co}
|New York Bakery Co = {New York Bakery Co}
Line 82: Line 90:
[[Category:Templates|Brand Search List]]<templatedata>
[[Category:Templates|Brand Search List]]<templatedata>
{
{
"params": {},
"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"
}
},
"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.",
"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"
"format": "inline",
"paramOrder": [
"type",
"1"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 07:16, 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.

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
Unknownoptional
Brand Requested1

Tells us what brand is requested.

Example
KFC
Stringrequired