Template:Brand Search List: Difference between revisions
m now wondering if we can shrink it... |
m Protected "Template:Brand Search List": High traffic page: No need to edit ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#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}{{#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} | ||
|Dunkin%27 Donuts = {Dunkin' Donuts} | |Dunkin%27 Donuts = {Dunkin' Donuts} | ||
|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}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Burger King Drive Thru} | ||
|Costa = {Costa} | |Costa Drive Thru | ||
|Costa Coffee | |||
|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} | ||
|Phat Pasty | |||
|The Phat Pasty Co | |||
|Phat Pasty Co = {Phat Pasty Co} | |||
|Petite Camile = {Petite Camile} | |||
|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} | ||
|Game Zone = {Game Zone} | |||
|Days Inn = {Days Inn} | |Days Inn = {Days Inn} | ||
|Chow = {Chow} | |Chow = {Chow} | ||
| | |Garden Square Deli | ||
| | |The Garden Square Deli = {Garden Square Deli} | ||
|Greggs | |Greggs Drive Thru | ||
| | |Greggs = {Greggs}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Greggs Drive Thru} | ||
|Braeburn Coffee = {Braeburn Coffee} | |Braeburn Coffee | ||
|Braeburn Drive Thru | |Braeburn Drive Thru = {Braeburn Coffee}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Braeburn Drive Thru} | ||
|Ibis Budget = {Ibis Budget} | |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 | |Tapori = {Tapori} | ||
|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} | ||
|Wash.ME | |||
|Wash ME | |||
|Revolution | |||
|Revolution Laundry = {Wash ME} | |||
|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} | ||
|KFC = {KFC} | |Budgens = {Budgens} | ||
|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 Drive Thru | ||
|Taco Bell = {Taco Bell}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Taco Bell Drive Thru} | |||
|Brightside = {Brightside} | |Brightside = {Brightside} | ||
|Cantina = {Cantina} | |||
|Offbeat Donuts | |||
|Offbeat = {Offbeat Donuts} | |||
|Krispy Kreme = {Krispy Kreme} | |Krispy Kreme = {Krispy Kreme} | ||
|Co-op | |||
|Co-op Food = {Co-op Food} | |Co-op Food = {Co-op Food} | ||
|Morrisons = {Morrisons} | |Morrisons Daily | ||
|Tesco = {Tesco} | |Morrisons = {Morrisons}{{#ifeq: {{{type|}}} | kml | :1, | {{#ifeq: {{{type|}}} | main | , }} }}{Morrisons Daily} | ||
|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 | ||
|Cornish Bakery = {Cornish Bakery} | |||
|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} | ||
|Travelodge = {Travelodge} | |Travelodge = {Travelodge} | ||
|Top Gift = {Top Gift} | |Top Gift = {Top Gift} | ||
|Phone Tech = {Phone Tech} | |||
|Circle K = {Circle K} | |Circle K = {Circle K} | ||
|WHSmith = {WHSmith} | |WHSmith = {WHSmith} | ||
|Nisa Local | |||
|Nisa = {Nisa} | |Nisa = {Nisa} | ||
|Lavazza = {Lavazza} | |Lavazza = {Lavazza} | ||
|Gulf = {Gulf} | |Gulf = {Gulf} | ||
|Select = {Select} | |||
|Quicksilver = {Quicksilver} | |Quicksilver = {Quicksilver} | ||
|Costcutter = {Costcutter} | |Costcutter = {Costcutter} | ||
|Harvester = {Harvester} | |Harvester = {Harvester} | ||
|Mace = {Mace} | |Mace = {Mace} | ||
Line 72: | Line 102: | ||
|OK Diner = {OK Diner} | |OK Diner = {OK Diner} | ||
|TotalEnergies = {TotalEnergies} | |TotalEnergies = {TotalEnergies} | ||
| | |Premier Inn = {Premier Inn} | ||
|Holiday Inn = {Holiday Inn} | |Freshii = {Freshii} | ||
|Waitrose = {Waitrose} | |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} | |West Cornwall Pasty Co = {West Cornwall Pasty Co} | ||
|Wild Bean Cafe = {Wild Bean Cafe} | |||
|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 |