This is a documentation subpage for Template:Infobox ski area. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template creates a infobox gathering information about a ski area. It should only be used in articles solely about a ski area or Ski resort, not on articles about towns or mountains where the ski area is located.
Usage edit
{{Infobox ski area
| name =
| logo =
| logo_width = <!--Default is 150px-->
| picture =
| caption =
| pushpin_map =
| pushpin_relief = y
| location =
| mountain =
| nearest_city =
| coordinates = <!--{{coord|lat|long|region:ZZ|display=inline,title}}-->
| status = <!--Active, defunct, etc-->
| opening_date = <!--{{Start date|YYYY|MM|DD}}-->
| closing_date = <!--{{End date|YYYY|MM|DD}}-->
| owner =
| 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 = <!--Total number and number for each type-->
| 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 = <!--List number of each type-->
| lift_capacity = <!--passengers/hour-->
| terrainparks = <!--Yes or no, #-->
| snowfall = <!--{{convert|X|cm|in}} or {{convert|X|in|cm}}-->
| snowmaking = <!--Yes or no, coverage and %.-->
| nightskiing = <!--Yes or no-->
| website =
}}
- Where ZZ is the location's region code from ISO 3166-1.
Microformat edit
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates edit
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes edit
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision edit
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
Tracking category edit
This template creates a infobox gathering information about a ski area.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Official name of ski area.
| Line | required |
Logo | logo | Official logo of ski area. | Content | suggested |
logo_alt | logo_alt | no description | Unknown | optional |
logo_width | logo_width | no description | Unknown | optional |
logodimensions | logodimensions | no description | Unknown | optional |
logo_dimensions | logo_dimensions | no description | Unknown | optional |
image | image | no description | Unknown | optional |
picture | picture | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
pushpin_map | pushpin_map | no description | Unknown | optional |
pushpin_map_alt | pushpin_map_alt | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
map_caption | map_caption | no description | Unknown | optional |
pushpin_label_position | pushpin_label_position | no description | Unknown | optional |
pushpin_relief | pushpin_relief | no description | Unknown | optional |
pushpin_map_label | pushpin_map_label | no description | Unknown | optional |
map_size | map_size | no description | Unknown | optional |
Location | location | Town and country where the ski area is located in. | String | suggested |
Mountain | mountain | Name of mountain(s) ski area is located on. | String | optional |
Nearest City | nearest_city | Nearest major city. | String | optional |
Status | status | The permeant operational status of the ski area, not for seasonal changes.
| Line | suggested |
opening_date | opening_date | no description | Unknown | optional |
closing_date | closing_date | no description | Unknown | optional |
owner | owner | no description | Unknown | optional |
vertical | vertical | no description | Unknown | optional |
top_elevation | top_elevation | no description | Unknown | optional |
base_elevation | base_elevation | no description | Unknown | optional |
skiable_area | skiable_area | no description | Unknown | optional |
number_trails | number_trails | no description | Unknown | optional |
longest_run | longest_run | no description | Unknown | optional |
liftsystem | liftsystem | no description | Unknown | optional |
lift_capacity | lift_capacity | no description | Unknown | optional |
terrainparks | terrainparks | no description | Unknown | optional |
snowfall | snowfall | no description | Unknown | optional |
snowmaking | snowmaking | no description | Unknown | optional |
nightskiing | nightskiing | no description | Unknown | optional |
website | website | no description | Unknown | optional |
external_link | external_link | no description | Unknown | optional |
module | module | no description | Unknown | optional |