Difference between revisions of "Template:Infobox ski area"
Jump to navigation
Jump to search
imported>Jonesey95 (Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.) |
imported>Jonesey95 (Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.) |
||
| Line 13: | Line 13: | ||
| alt = {{{pushpin_map_alt|}}} | | alt = {{{pushpin_map_alt|}}} | ||
| coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| float = center | | float = center | ||
| caption = {{ifempty|{{{map_caption|}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}}}} | | caption = {{ifempty|{{{map_caption|}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}}}} | ||
| Line 43: | Line 33: | ||
| label3 = [[Geographic coordinate system|Coordinates]] | | label3 = [[Geographic coordinate system|Coordinates]] | ||
| − | | data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|scale:50000 | + | | data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|scale:50000}} }} |
| − | |||
| − | |||
| label4 = Vertical | | label4 = Vertical | ||
| Line 94: | Line 82: | ||
| label17 = Website | | label17 = Website | ||
| data17 = {{#if:{{{website|{{{external_link|}}}}}}|<span class="url">{{{website|{{{external_link}}}}}}</span>}} | | data17 = {{#if:{{{website|{{{external_link|}}}}}}|<span class="url">{{{website|{{{external_link}}}}}}</span>}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox ski area with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox ski area]] with unknown parameter "_VALUE_"|ignoreblank=y| base_elevation | caption | coordinates | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox ski area with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox ski area]] with unknown parameter "_VALUE_"|ignoreblank=y| base_elevation | caption | coordinates | external_link | image | image_alt | lift_capacity | liftsystem | location | logo | logo_alt | logo_dimensions | logo_width | logodimensions | longest_run | map_caption | map_size | name | nearest_city | nightskiing | number_trails | picture | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_label | pushpin_relief | skiable_area | snowfall | snowmaking | terrainparks | top_elevation | total_length | vertical | website }}<noinclude>{{Documentation}} |
</noinclude> | </noinclude> | ||
Revision as of 05:38, 12 June 2017
[[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. |