Difference between revisions of "Template:Infobox ski area"
Jump to navigation
Jump to search
imported>ColinFine (Removed explicit Slovenian inter-language link, since I've now corrected it in Wikidata.) |
imported>Frietjes m (bypass redirect per request) |
||
| Line 14: | Line 14: | ||
| coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| float = center | | float = center | ||
| − | | caption = {{ | + | | caption = {{if empty|{{{map_caption|}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}}}} |
| border = infobox | | border = infobox | ||
| position = {{{pushpin_label_position|}}} | | position = {{{pushpin_label_position|}}} | ||
| Line 20: | Line 20: | ||
| mark = Red_pog.svg | | mark = Red_pog.svg | ||
| marksize = 8 | | marksize = 8 | ||
| − | | label = {{ | + | | label = {{if empty|{{{pushpin_map_label|}}}|{{{name|}}}|{{PAGENAME}}}} |
| width = {{#iferror:{{#expr:1+{{{map_size|}}}+1}}|280|{{{map_size|}}}}} | | width = {{#iferror:{{#expr:1+{{{map_size|}}}+1}}|280|{{{map_size|}}}}} | ||
}} | }} | ||
Revision as of 13:55, 16 October 2019
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
{{Infobox ski area
| name =
| logo =
| logo_width = <!--Default is 150px-->
| picture =
| caption =
| owner =
| location = Name of mountain
| nearest_city = Nearest major city
| coordinates = {{coord|lat|long|region:ZZ|display=inline,title}}
| pushpin_map =
| pushpin_relief = y
| vertical = {{convert|X|m|abbr=on}} or {{convert|X|ft|abbr=on}}
| top_elevation = {{convert|X|m|abbr=on}} or {{convert|X|ft|abbr=on}}
| base_elevation = {{convert|X|m|abbr=on}} or {{convert|X|ft|abbr=on}}
| skiable_area = {{convert|X|ha|abbr=on}} or {{convert|X|acre|abbr=on}}
| number_trails =
| longest_run = {{convert|X|km|abbr=on}} or {{convert|X|mi|abbr=on}}
| total_length = {{convert|X|km|abbr=on}} or {{convert|X|mi|abbr=on}}
| liftsystem =
| lift_capacity = passengers/hour
| terrainparks =
| snowfall = {{convert|X|cm|in}} or {{convert|X|in|cm}}
| snowmaking =
| nightskiing =
| external_link =
}}
- Where ZZ is the location's region code from ISO 3166-1.
Microformat
Tracking category
| The above documentation is transcluded from Template:Infobox ski area/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |