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 | ||
| | |Supermac%27s Drive Thru = {Supermac's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Supermac's Drive Thru} | ||
| | |McDonald%27s | ||
|Nando%27s = {Nando's} | |McDonald%27s Drive Thru = {McDonald's}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{McDonald's Drive Thru} | ||
|BP = {BP} | |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} | ||
| | |Domino%27s = {Domino's} | ||
|Costa = {Costa}:1, | |Nando%27s = {Nando's} | ||
|Costa Express = {Costa Express} | |BP = {BP} | ||
|Chozen Noodle = {Chozen Noodle} | |Burger King Drive Thru | ||
|Deli by Shell = {Deli by Shell} | |Burger King = {Burger King}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Burger King Drive Thru} | ||
|JET = {JET} | |Costa Drive Thru | ||
|Fresh Food Cafe = {Fresh Food Cafe} | |Costa Coffee | ||
|Chopstix Noodle Bar = {Chopstix Noodle Bar} | |Costa = {Costa Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Costa Drive Thru} | ||
|Ramada = {Ramada} | |Costa Express = {Costa Express} | ||
| | |Chozen Noodle = {Chozen Noodle} | ||
| | |Deli by Shell = {Deli by Shell} | ||
|Chow = {Chow} | |JET = {JET} | ||
| | |Phat Pasty | ||
| | |The Phat Pasty Co | ||
|Greggs | |Phat Pasty Co = {Phat Pasty Co} | ||
| | |Petite Camile = {Petite Camile} | ||
|Braeburn Coffee = {Braeburn Coffee}:1, | |Fresh Food Cafe = {Fresh Food Cafe} | ||
|Braeburn Drive Thru | |Chopstix Noodle Bar = {Chopstix Noodle Bar} | ||
|Ibis Budget = {Ibis Budget}:1, | |Ramada = {Ramada} | ||
|El Mexicana = {El Mexicana} | |Game Zone = {Game Zone} | ||
|Coco Di Mama = {Coco | |Days Inn = {Days Inn} | ||
|LEON = {LEON} | |Chow = {Chow} | ||
|PizzaExpress = {PizzaExpress} | |Garden Square Deli | ||
|The Bakewell = {The Bakewell} | |The Garden Square Deli = {Garden Square Deli} | ||
|Esso = {Esso} | |Greggs Drive Thru | ||
|ASDA = {ASDA} | |Greggs = {Greggs}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Greggs Drive Thru} | ||
|The Good Breakfast = {The Good Breakfast}:1, | |Braeburn Coffee | ||
| | |Braeburn Drive Thru = {Braeburn Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Braeburn Drive Thru} | ||
|KFC = {KFC}:1, | |Ibis | ||
|Brewers Fayre = {Brewers Fayre} | |Ibis Budget = {Ibis Budget}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Ibis} | ||
|Taco Bell = {Taco Bell}:1, | |El Mexicana = {El Mexicana} | ||
|Brightside = {Brightside} | |Tapori = {Tapori} | ||
|Krispy Kreme = {Krispy Kreme} | |Coco di Mama | ||
|Co-op Food = {Co-op Food} | |Coco Di Mama = {Coco di Mama} | ||
|Morrisons = {Morrisons}:1, | |LEON = {LEON} | ||
|Tesco = {Tesco}:1, | |PizzaExpress = {PizzaExpress} | ||
|Beefeater = {Beefeater} | |The Bakewell = {The Bakewell} | ||
|Table Table = {Table Table} | |Esso = {Esso} | ||
|Brewers Fayre = {Brewers Fayre} | |Wash.ME | ||
|The Cornish Bakery = { | |Wash ME | ||
|Applegreen = {Applegreen} | |Revolution | ||
|Shell = {Shell} | |Revolution Laundry = {Wash ME} | ||
|SPAR = {SPAR}:1, | |Asda Express | ||
|Starbucks = {Starbucks}:1, | |ASDA Express | ||
|Subway = {Subway} | |ASDA = {ASDA} | ||
|Texaco = {Texaco} | |The Good Breakfast = {The Good Breakfast} | ||
|Travelodge = {Travelodge} | |Select = {Select}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Budgens}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Little Waitrose} | ||
|Top Gift = {Top Gift} | |Budgens = {Budgens} | ||
|Circle K = {Circle K} | |KFC Drive Thru | ||
|WHSmith = {WHSmith} | |KFC = {KFC}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{KFC Drive Thru} | ||
|Nisa = {Nisa} | |Brewers Fayre = {Brewers Fayre} | ||
|Lavazza = {Lavazza} | |Taco Bell Drive Thru | ||
|Gulf = {Gulf} | |Taco Bell = {Taco Bell}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Taco Bell Drive Thru} | ||
| | |Brightside = {Brightside} | ||
| | |Cantina = {Cantina} | ||
| | |Offbeat Donuts | ||
|Harvester = {Harvester} | |Offbeat = {Offbeat Donuts} | ||
|Mace = {Mace} | |Krispy Kreme = {Krispy Kreme} | ||
|Pizza Hut = {Pizza Hut} | |Co-op | ||
|Co-op Food = {Co-op Food} | |||
|Murco = {Murco} | |Morrisons Daily | ||
|OK Diner = {OK Diner} | |Morrisons = {Morrisons}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Morrisons Daily} | ||
|TotalEnergies = {TotalEnergies} | |Tesco Express | ||
| | |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} | ||
| | |The Cornish Bakery | ||
|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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Format | type | Formats the output depending on which part of the search engine wants it.
| String | suggested |
Brand Requested | 1 | Tells us what brand is requested.
| String | required |