Template:Infobox mountain/doc: Difference between revisions
meta>GVP Webmaster m Fixed GVP link |
meta>MZMcBride minor code edits |
||
Line 25: | Line 25: | ||
| Pronunciation = | | Pronunciation = | ||
}}</pre> | }}</pre> | ||
{| class="wikitable" style="font-size: 90%" | {| class="wikitable" style="font-size:90%; margin:auto; width:100%;" | ||
! Field | ! Field | ||
! Description | ! Description | ||
Line 91: | Line 90: | ||
|- | |- | ||
|'''Pronunciation''' | |'''Pronunciation''' | ||
|Pronunciation of the name if not obvious. | | Pronunciation of the name if not obvious. | ||
|} | |} | ||
===General | ===General notes=== | ||
* Only the '''Name''' and '''Elevation''' fields are required. All other fields are optional and will not display if not present in the template or do not have any value. | * Only the '''Name''' and '''Elevation''' fields are required. All other fields are optional and will not display if not present in the template or do not have any value. | ||
* Blank starter templates for various areas of the world (just copy and paste): | * Blank starter templates for various areas of the world (just copy and paste): |
Revision as of 20:36, 8 June 2007
Template:Template doc page viewed directly
Usage
{{Infobox Mountain | Name = | Photo = | Caption = | Elevation = | Location = | Range = | Prominence = | Coordinates = | Topographic map = | Type = | Volcanic_Arc/Belt= | Age = | Last eruption = | First ascent = | Easiest route = | Grid_ref_UK = | Grid_ref_Ireland = | Listing = | Translation = | Language = | Pronunciation = }}
Field | Description |
---|---|
Name | Name of the mountain, peak or hill. If more than one mountain by the name exists, the article is likely disambiguated but this name in the infobox should be the undisambiguated name. For example, Mount Columbia (for Mount Columbia (Alberta) or Mount Columbia (Colorado). This field is required. |
Photo | Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit. Do not include the "Image:" prefix. If uploading a new image, please put them on Commons so they can be easily used by the other language wikipedias. |
Caption | Description of the photograph which is displayed below. Include the month and year if known. |
Elevation | Maximum height of the mountain above mean sea level. If the mountain has multiple high points, use the highest. Use the {{convert}} template to specify the height in metres or feet. For example {{convert|5959|m|ft|0|lk=on}}. Metres should be used first for all mountains outside of the United States and feet for those within in the U.S. This field is required. |
Location | Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state. |
Range | Mountain range if applicable. The specific range subgroup should be provided instead of any major mountain system unless there is no applicable subgroup. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps. |
Prominence | The topographic prominence of the summit. Use the {{convert}} template. |
Coordinates | The latitude and longitude of the summit using the {{coord}} template with display=inline,title. |
Topographic map | The name of the topographic map showing the mountain. In Canada, this is usually the National Topographic System map number while for the USA, it's the map name from the USGS. |
Type | The type of mountain — see List of mountain types. |
Volcanic_Arc/Belt | If the mountain is a volcano, it may be part of a volcanic arc or volcanic belt. |
Age | Age of the rock. Geologic time scales may be useful here. |
Last eruption | The date of the last eruption if the mountain is of volcanic origin. Only use Unknown if a verifiable source such as the Global Volcanism Program states it as such. |
First ascent | Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. |
Easiest route | The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades. |
Grid_ref_UK | If the mountain is in the United Kingdom, the OS grid reference. For mountains outside of the UK, this field is not applicable and therefore should be removed if it is present. |
Grid_ref_Ireland | If the mountain is in Ireland, the grid reference. For mountains outside Ireland, this field is not applicable and therefore should be removed it it is present. |
Listing | Name of a relevant list article. |
Translation | If the peak name is not English, the English translation. |
Language | The language of the translation. |
Pronunciation | Pronunciation of the name if not obvious. |
General notes
- Only the Name and Elevation fields are required. All other fields are optional and will not display if not present in the template or do not have any value.
- Blank starter templates for various areas of the world (just copy and paste):
Microformat
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
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
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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.