Template:Navbox locations: Difference between revisions
(Add expand logic) |
m (Remove trailing bullet) |
||
(One intermediate revision by the same user not shown) | |||
Line 39: | Line 39: | ||
| entertainment = Entertainment | | entertainment = Entertainment | ||
| books_video = Books & video | | books_video = Books & video | ||
| tv_radio = | | tv_radio = Media | ||
| mechanics = Mechanics | | mechanics = Mechanics | ||
| poi = Points of interest | | poi = Points of interest | ||
Line 79: | Line 79: | ||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox locations|default=Bars|arg1=bars}} | | group = {{tt|name=Navbox locations|default=Bars|arg1=bars}} | ||
| list = {{ll|Bar (Riverside)}} • {{ll|The Black Saddle}} • {{ll|Al's Ale and All}} • {{ll|Beever's}} • {{ll|Black Liquorice}} • {{ll|Bright Flag Inn}} • {{ll|Chief Steakhouse and Bar}} • {{ll|Ol' Scratch}} • {{ll|Sanguine Spirits}} • {{ll|Shaken and Stirred}} • {{ll|The Hardy Har Bar}} • {{ll|The Drake}} • {{ll|The Horseshoe}} • {{ll|The Orange Anchor}} • {{ll|The Rusty Rifle}} • {{ll|The Sea Shanty}} • {{ll|Tomcat Tavern}} • {{ll|The Slugger}} • {{ll|The Straight Shooter}} • {{ll|The Wooden Stein}} • {{ll|Twiggy's}} | | list = {{ll|Bar (Riverside)}} • {{ll|The Black Saddle}} • {{ll|Al's Ale and All}} • {{ll|Beever's}} • {{ll|Black Liquorice}} • {{ll|Bright Flag Inn}} • {{ll|Chief Steakhouse and Bar}} • {{ll|Ol' Scratch}} • {{ll|Sanguine Spirits}} • {{ll|Shaken and Stirred}} • {{ll|The Hardy Har Bar}} • {{ll|The Drake}} • {{ll|The Horseshoe}} • {{ll|The Orange Anchor}} • {{ll|The Rusty Rifle}} • {{ll|The Sea Shanty}} • {{ll|Tomcat Tavern}} • {{ll|The Slugger}} • {{ll|The Straight Shooter}} • {{ll|The Wooden Stein}} • {{ll|Twiggy's}} | ||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox locations|default=Retail|arg1=retail}} | | group = {{tt|name=Navbox locations|default=Retail|arg1=retail}} | ||
Line 126: | Line 126: | ||
| list = {{ll|Bernard's Book Emporium}} • {{ll|Book Naked}} • {{ll|Book store (Muldraugh)}} • {{ll|Brooks Public Library of Louisville}} • {{ll|Enigma Books}} • {{ll|From the Dugout}} • {{ll|Hit Vids!}} • {{ll|LSU Library}} • {{ll|The Good Book}} • {{ll|Worm of Books}} | | list = {{ll|Bernard's Book Emporium}} • {{ll|Book Naked}} • {{ll|Book store (Muldraugh)}} • {{ll|Brooks Public Library of Louisville}} • {{ll|Enigma Books}} • {{ll|From the Dugout}} • {{ll|Hit Vids!}} • {{ll|LSU Library}} • {{ll|The Good Book}} • {{ll|Worm of Books}} | ||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox locations|default= | | group = {{tt|name=Navbox locations|default=Media|arg1=tv_radio}} | ||
| list = {{ll|LBMW - Kentucky Radio}} • {{ll|LBMW Network}} • {{ll|KnoxTalk Radio}} • {{ll|The Kentucky Herald}} • {{ll|Triple-N}} • {{ll|TURBO}} | | list = {{ll|LBMW - Kentucky Radio}} • {{ll|LBMW Network}} • {{ll|KnoxTalk Radio}} • {{ll|The Kentucky Herald}} • {{ll|Triple-N}} • {{ll|TURBO}} | ||
}}{{Navbox/row | }}{{Navbox/row |
Revision as of 12:52, 14 April 2024
This template should be transcluded at the bottom of all location pages. These are pages that are not included in Template:Navbox regions.
Usage
{{Navbox locations}}
{{Navbox locations|poi}}
Parameters
The parameters are based on the type of article. The usable parameters are;
businesses
poi
services
The parameters are not case sensitive, but lowercase is recommended. Leaving parameters blank will result in both sub boxes remaining closed.
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| locations = Locations
| businesses = Businesses
| restaurants = Restaurants
| cafes = Cafes
| fast_food = Fast food
| bars = Bars
| retail = Retail
| industrial = Industrial
| weapon_hunting = Weapon & hunting stores
| tool_stores = Tool stores
| grocery_liquor = Grocery & liquor stores
| gyms = Gyms
| hotels = Hotels & motels
| utilities = Utilities
| gas_stations = Gas stations
| offices = Offices
| hair_beauty = Hair & beauty
| clothing = Clothing
| malls = Malls
| entertainment = Entertainment
| books_video = Books & video
| tv_radio = Media
| mechanics = Mechanics
| poi = Points of interest
| parks_camps = Parks & camps
| farms = Farms
| residential = Residential
| services = Services
| fire = Fire departments
| medical = Medical
| police = Police departments
| military = Military installments
| religious = Religious buildings
| education = Education
| other_services = Other services
| #default = {{Error|translation}}
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.