Template:Infobox mountain/doc: Difference between revisions
meta>RedWolf descriptions for longitude parameters |
meta>Droll clean up a bit |
||
Line 25: | Line 25: | ||
| map_size = | | map_size = | ||
| coordinates_ref = | | coordinates_ref = | ||
| latd= |latm= |lats= |latNS= | | latd = | latm = | lats= | latNS= | ||
| longd= |longm= |longs= |longEW= | | longd = | longm = | longs= | longEW= | ||
| | | coordinates = | ||
| topo = | | topo = | ||
| type = | | type = | ||
Line 255: | Line 255: | ||
| prominence = | | prominence = | ||
| coordinates = | | coordinates = | ||
| topo = [[USGS]] Mount Shasta | | topo = [[United States Geological Survey|USGS]] Mount Shasta | ||
| type = [[Composite volcano]] | | type = [[Composite volcano]] | ||
| age = | | age = Less than 593 [[kiloannum|ka]] | ||
| last_eruption = 1786 | | last_eruption = 1786 | ||
| first_ascent = 1854 by E.D. Pearce and party | | first_ascent = 1854 by E.D. Pearce and party | ||
Line 277: | Line 277: | ||
| prominence = | | prominence = | ||
| coordinates = | | coordinates = | ||
| topo = [[USGS]] Mount Shasta | | topo = [[United States Geological Survey|USGS]] Mount Shasta | ||
| type = [[Composite volcano]] | | type = [[Composite volcano]] | ||
| age = | | age = Less than [[kiloannum|ka]] | ||
| last_eruption = 1786 | | last_eruption = 1786 | ||
| first_ascent = 1854 by E.D. Pearce and party | | first_ascent = 1854 by E.D. Pearce and party | ||
Line 290: | Line 290: | ||
{{-}} | {{-}} | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:WikiProject Mountains]] | [[Category:WikiProject Mountains]] | ||
[[Category:geography infobox templates|Mountain]] | [[Category:geography infobox templates|Mountain]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
[[an:Plantilla:Montañas]] | [[an:Plantilla:Montañas]] |
Revision as of 21:04, 22 January 2010
This is a documentation subpage for Template:Infobox mountain. It may contain usage information, categories and other content that is not part of the original template page. |
Note: the design of this infobox reflects the consensus of WikiProject Mountains. If you would like to change the template, please leave a note at Wikipedia Talk:WikiProject Mountains. Thanks!
For a list of articles using it, see WikiProject Mountains/List of mountains.
Usage
{{Infobox mountain | name = | native_name = | alt_name = | photo = | photo size = | photo_caption = | elevation = | Elevation_m = | Elevation_ft = | elevation_ref = | location = | range = | prominence = | parent_peak = | pushpin_map = | label_position = | map_caption = | map_size = | coordinates_ref = | latd = | latm = | lats= | latNS= | longd = | longm = | longs= | longEW= | coordinates = | topo = | type = | volcanic_arc/Belt= | age = | last_eruption = | first_ascent = | easiest_route = | grid_ref_UK = | grid_ref_Ireland = | listing = | translation = | language = | pronunciation = }}
NOTE: In the following table, the preferred field names are in bold. Other names are given for compatibility with older versions of the template but adding the template to new articles should use the field names in bold. The other names may be removed at some future date.
Field | Description |
---|---|
name 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. |
alt_name | Alternate name for the mountain if relatively well known. For example, Denali for Mount McKinley. |
photo Photo image |
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. If the only image available is less than 300px wide, you can use the Photo size parameter to indicate its size. |
photo_size Photo size image_size |
Specify the width of the photo in pixels. For example photo_size = 200 with no "px". If no value is specified, the default width is 285 pixels. A standard horizontal photographic composition will generally display well at 285px. A standard vertical composition may need to be adjusted to 180 or 220 pixels.
|
photo_caption Caption |
Description of the photograph which is displayed below. Include the month and year if known. |
elevation Elevation |
Maximum height of the mountain above mean sea level. If the mountain has multiple high points, use the highest. Metres should be used first for all mountains outside of the United States and feet for those within in the U.S. For conversions,
This field is required. |
location Location |
Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state. |
range 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 Prominence |
The topographic prominence of the summit.
|
parent_peak Parent peak |
In computation of prominence, peaks form a hierarchy: this is the parent of the peak in the hierarchy. For more information, see topographic prominence#Prominence parentage |
map pushpin_map |
The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (e.g. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Mount Everest |
label | Label to be used for the mountain's location on the map. If not specified, the value of the 'name parameter is used. |
label_position pushpin_label_position |
The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right. |
map_caption pushpin_map_caption |
Fill out if a map caption is desired. |
map_size pushpin_mapsize |
Must be entered as only a number—no need for px. The default value is 250. |
coordinates_ref | For any references regarding the coordinates reported. <ref> </ref> tags must be used. |
latd | Latitude degrees. Can also be used for decimal degrees |
latm | Latitude minutes. |
lats | If known latitude seconds. |
latNS | N for North; S for South. |
longd | Longitude degrees. |
longm | Longitude minutes. |
longs | If known. |
longEW | E for East; W for West. |
coordinates Coordinates |
The latitude and longitude of the summit using the {{coord}} template with display=inline,title. If the article uses a geolinks template in the external links section, do not use the display parameter. NOTE: If a push pin map is used, this field is ignored. |
topo 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 Type |
The type of mountain — see List of mountain types. |
volcanic_arc/belt Volcanic_Arc/Belt |
If the mountain is a volcano, it may be part of a volcanic arc or volcanic belt. |
age Age |
Age of the rock. Geologic time scales may be useful here. |
last_eruption 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 First ascent |
Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added. |
easiest_route Easiest route |
The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades. |
grid_ref_UK Grid_ref_UK |
If the mountain is in Great Britain, the British grid reference. For mountains outside of Great Britain, this field is not applicable and therefore should be removed if it is present. |
grid_ref_Ireland Grid_ref_Ireland |
If the mountain is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For mountains outside Ireland, this field is not applicable and therefore should be removed it it is present. |
listing Listing |
Name of a relevant list of mountains that the peak belongs to. See Lists of mountains for examples. |
translation Translation |
If the peak name is not English, the English translation. |
language Language |
The language of the translation. |
pronunciation 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.
Examples
Two examples from actual articles are below.
Example 1
K2 | |
---|---|
File:K2-big.jpg | |
Highest point | |
Elevation | 8,611 metres (28,251 ft) Ranked 2nd |
Prominence | 4,017 metres (13,179 ft) |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Geography | |
Script error: No such module "Location map".
| |
Location | Taxkorgan Tajik Autonomous County, Xinjiang, China/Northern Areas of Pakistan |
Parent range | Karakoram |
Climbing | |
First ascent | July 31, 1954 by Lacedelli & Compagnoni |
Easiest route | rock/snow/ice climb |
{{Infobox mountain | name = K2 | photo = K2-big.jpg | photo_caption = K2 in Summer | elevation_m = 8611 | elevation_ref = <br /><small>[[Eight-thousander|Ranked 2nd]]</small> | location = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan|Northern Areas of Pakistan]] | range = [[Karakoram]] | prominence = {{convert|4017|m|ft|0|abbr=on}} | coordinates = {{coord|35|53|N|76|31|E|type:mountain}} | topo = | type = | age = | first_ascent = July 31, 1954 by Lacedelli & Compagnoni | easiest_route = rock/snow/ice climb | listing = | translation = | language = | pronunciation = | map = Pakistan | label_position = right | map_caption = Location on Pakistan/China border | map_size = 275 | coordinates_ref= | latd= 35|latm= 52|lats= 57|latNS=N | longd= 76|longm= 30|longs= 48|longEW=E }}
Example 2
Mount Shasta | |
---|---|
Highest point | |
Elevation | 14,179 feet (4,322 m) |
Geography | |
Location | California, USA |
Parent range | Cascades |
Topo map | USGS Mount Shasta |
Geology | |
Age of rock | Less than 593 ka |
Mountain type | Composite volcano |
Last eruption | 1786 |
Climbing | |
First ascent | 1854 by E.D. Pearce and party |
Easiest route | rock/ice |
{{Infobox mountain | name = Mount Shasta | photo = Mt_Shasta_from_the_northwest-750px.JPG | photo_aption = Mount Shasta and Shastina from the Butte Valley (North-East) | elevation = {{convert|14179|ft|m|0}} | location = [[California]], [[United States|USA]] | range = [[Cascade Range|Cascades]] | prominence = | coordinates = | topo = [[United States Geological Survey|USGS]] Mount Shasta | type = [[Composite volcano]] | age = Less than [[kiloannum|ka]] | last_eruption = 1786 | first_ascent = 1854 by E.D. Pearce and party | easiest_route = rock/ice | listing = | translation = | language = | pronunciation = }}