Template:Infobox mountain: Difference between revisions

From ahitipua
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{infobox
==Usage==
| child      = {{{child|}}}
| bodyclass  = vcard
| bodystyle  = line-height: normal; font-size:95%; border-spacing: 2px;


The following parameters can be used to create a mountain infobox. Please '''remove''' any parameters that are not likely to be useful.
| abovestyle  = background-color: #e7dcc3;
| aboveclass  = fn org
| above      = {{ifempty
                | {{{name|}}}
                | <includeonly>{{error|Mountain name required|tag=span}}<!--
                  -->{{main other|[[Category:Mountain articles requiring maintenance]]}}</includeonly>}}


<pre style="width:15em;">{{Infobox mountain
| headerstyle = background-color: #e7dcc3;
| name              =
| labelstyle  = padding:4px; vertical-align:text-top; white-space: nowrap;
| other_name        =
| datastyle   = padding:4px; vertical-align:text-top;
| photo            =
| photo_size        =
| photo_alt        =
| photo_caption    =
| elevation        =  
| elevation_m      =
| elevation_ft      =
| elevation_ref    =
| prominence        =
| prominence_m      =
| prominence_ft    =
| prominence_ref    =
| listing          =
| range            =
| parent_peak      =
| location          =
| map              =
| map_alt          =
| map_caption      =
| map_relief        =
| map_size          =
| label            =
| label_position    =
| lat_d            =
| lat_m            =
| lat_s            =
| lat_NS            =
| long_d            =
| long_m            =
| long_s            =
| long_EW          =
| x                =
| y                =
| region            =
| coordinates      =
| coordinates_ref   =  
| grid_ref_UK      =
| grid_ref_Ireland  =
| topo              =
| type              =
| volcanic_arc/belt =
| age              =
| last_eruption    =
| first_ascent      =
| easiest_route    =
}}</pre>


==Parameters descriptions==
| subheader  = {{ifempty|{{{other_name|}}}|{{{native_name|}}}}}


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.
| image      = {{#if:{{{photo|}}}|[[Image:{{{photo|}}}|{{least|{{ifempty|{{{photo_width|}}}|{{{photo_size|}}}}}|280}}px<!--
                -->{{#if:{{{photo_alt|}}}|{{!}}alt={{{photo_alt|}}}}}]]}}
| caption    = {{{photo_caption|}}}


{| class="wikitable" style="font-size:90%; margin:auto; width:100%;"
| data1    = {{#if:{{{photo|}}} |<!-- if photo then show map below -->
! Parameter
            | {{#if:{{{map|}}}|{{Infobox map
! Description
              | map = {{{map|}}}
|-
              | map_alt = {{{map_alt|}}}
|'''name'''
              | map_width = {{least|{{ifempty|{{{map_width|}}}|{{{map_size|}}}}}|272}}
| 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)]]. An elevation must be supplied.
              | map_caption = {{ifempty|{{{map_caption|}}}|{{{location|}}}}}
|-
              | map_border = {{{map_border|}}}
|'''other_name'''
              | mark = Red triangle with thick white border.svg
| Other name for the mountain if relatively well known. For example, Denali for Mount McKinley. Quotes can be used as normal to italicize or bold the text if desired.
              | mark_width = 10
|-
              | relief = {{#ifeq:{{{map_relief|}}}|0||1}}
|'''pronunciation'''
              | label = {{ifempty|{{{label|}}}|{{{name|}}}}}
| Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{tl|IPA-en}} for English.)
              | label_position = {{{label_position|}}}
|-
              | lat = {{decdeg|{{{lat_d|}}}|{{{lat_m|}}}|{{{lat_s|}}}|{{{lat_NS|}}}}}
|'''photo'''
              | long = {{decdeg|{{{long_d|}}}|{{{long_m|}}}|{{{long_s|}}}|{{{long_EW|}}}}}
| 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 "File:" prefix. If uploading a new image, please put them on [[Wikimedia Commons|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.
              | x = {{{x|}}} | y = {{{y|}}}
|-
              | x% = {{{x%|}}} | y% = {{{y%|}}}}}}}}}
|'''photo_size'''
 
| Specify the width of the photo in pixels. For example <code>photo_size = 200</code> 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.
| label2  = [[Summit (topography)|Elevation]]
|-
| data2    = {{#if:{{{elevation|}}} | {{{elevation|}}}
|'''photo_alt'''
            | {{#if:{{{elevation_m|}}} | {{Infobox mountain/convert|{{{elevation_m|}}}|m}}
| Alt text for the photo, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images]]''.
              | {{#if:{{{elevation_ft|}}} | {{Infobox mountain/convert|{{{elevation_ft|}}}|ft}}}}}}}}<!--
|-
            -->{{{elevation_ref|}}}
|'''photo_caption'''
 
| Description of the photograph which is displayed below. Include the month and year if known.
| label3  = [[Topographic prominence|Prominence]]
|-
| data3    = {{#if:{{{prominence|}}} | {{{prominence|}}}
|'''elevation'''
            | {{#if:{{{prominence_m|}}} | {{Infobox mountain/convert|{{{prominence_m|}}}|m}}
| Maximum height of the mountain. 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 the U.S. For conversions, use '''elevation_m''' for metres to feet or '''elevation_ft''' for feet to metres. This field is required.
              | {{#if:{{{prominence_ft|}}} | {{Infobox mountain/convert|{{{prominence_ft|}}}|ft}}}}}}}}<!--
|-
            -->{{{prominence_ref|}}}
|'''elevation_ref'''
 
|Reference for the elevation using the standard <nowiki><ref> </ref></nowiki> tags. If elevation_m/elevation_ft was used, the reference must be supplied using this parameter.
| label4  = [[Topographic prominence#Prominence parentage|Parent peak]]
|-
| data4    = {{{parent_peak|}}}
|'''prominence'''
 
| The clean [[topographic prominence]] of the summit. For conversions, use '''prominence_m''' for metres to feet or '''prominence_ft''' for feet to metres.
| class6  = category
|-
| label6  = [[List of mountain lists|Listing]]
|'''prominence_ref'''
| data6    = {{{listing|}}}
|Reference for the prominence using the standard <nowiki><ref> </ref></nowiki> tags.
 
|-
| label7  = Translation
|'''listing'''
| data7    = {{#if:{{{translation|}}}| ''{{{translation|}}}''<!--
| Name of a relevant list of mountains that the peak belongs to. See [[List of mountain lists]] for examples.
            -->{{#if:{{{language|}}}|&#32;({{{language|}}}) }}}}
|-
 
|'''location'''
| label8  = [[help:IPA|Pronunciation]]
| Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state. If a pushpin map is being used, the location will be used for the map's caption unless the map_caption parameter is set.
| data8    = {{#if:{{{pronunciation|}}}|{{IPA|{{{pronunciation|}}}}}}}
|-
 
|'''range'''
| header10 = {{#if:{{#if:{{{photo|}}}|{{{map|}}}}}{{{location|}}}{{{range|}}}{{{lat_d|}}}{{{long_d|}}}<!--
| [[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]].
            -->{{{coordinates|}}}{{{coords|}}}{{{topo|}}}{{{grid_ref_UK|}}}{{{grid_ref_Ireland|}}}|Location}}
|-
 
|'''parent_peak'''
| data11  = {{#if:{{{photo|}}}
| In computation of prominence, peaks form a hierarchy: this is the parent of the peak in the hierarchy. For more information, see [[Line parent]].
            | {{#if:{{{map|}}}|{{Infobox map
|
              | map = {{{map|}}}
|'''map'''
              | map_alt = {{{map_alt|}}}
| The name of a location map as per [[Template:Location map]] (e.g. ''Indonesia'' or ''Russia''). The coordinate fields (e.g. lat_d and long_d) position a pushpin coordinate marker and label on the map '''automatically'''. Example see: [[Mount Everest]]
              | map_width = {{least|{{ifempty|{{{map_width|}}}|{{{map_size|}}}}}|272}}
|-
              | map_border = {{{map_border|}}}
|'''label'''
              | map_caption = {{ifempty|{{{map_caption|}}}|{{{location|}}}}}
| Label to be used for the mountain's location on the map. If not specified, the value of the ''name'' parameter is used.
              | mark = Red triangle with thick white border.svg
|-
              | mark_width = 10
|'''label_position'''
              | relief = {{#ifeq:{{{map_relief|}}}|0||1}}
| 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''.
              | label = {{ifempty|{{{label|}}}|{{{name|}}}}}
|-
              | label_position = {{{label_position|}}}
|'''map_alt'''
              | lat = {{decdeg|{{{lat_d|}}}|{{{lat_m|}}}|{{{lat_s|}}}|{{{lat_NS|}}}}}
| Alt text for the map, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images#Maps|Alt text for maps]]''.
              | long = {{decdeg|{{{long_d|}}}|{{{long_m|}}}|{{{long_s|}}}|{{{long_EW|}}}}}
|
              | x = {{{x|}}} | y = {{{y|}}}
|'''map_caption'''
              | x% = {{{x%|}}} | y% = {{{y%|}}}}}}}}}
| Fill out if a map caption is desired. If not specified, '''location''' will be used.
 
|-
| class12  = label
|'''map_relief'''
| label12  = Location
| When set to a non-blank value, if the specified location map template has a relief map specified, it will be used. If there is no relief map specified by the location map template, the main image will be used. The default value is 1 so that relief maps are the default. To override this and use the main image, specify map_relief=0.
| data12  = {{#if:{{{map|}}}|{{#if:{{{map_caption|}}}|{{{location|}}}}}|{{{location|}}}}}
|-
 
|'''map_size'''
| class13  = category
| Must be entered as only a number&mdash;'''no need for px'''.  The default value is 250.
| label13  = [[Mountain range|Range]]
|
| data13  = {{{range|}}}
|'''lat_d'''
| Latitude degrees. Can also be used for decimal degrees
|
|'''lat_m'''
| Latitude minutes.
|
|'''lat_s'''
| If known, latitude seconds.
|
|'''lat_NS'''
| '''N''' for North; '''S''' for South.
|
|'''long_d'''
| Longitude degrees.
|
|'''long_m'''
| Longitude minutes.
|
|'''long_s'''
| If known, longitude seconds.
|
|'''long_EW'''
| '''E''' for East; '''W''' for West.
|-
|'''x'''<br>'''y'''
|Specifies the position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See {{tl|Infobox map}} for further details.
|
|'''region'''
| Either a two character [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code. See [[WP:COORD REGION|region]].
|-
|'''source'''
| The source of the coordinate data. See [[WP:COORD SOURCE|source]].
|-
|'''coordinates'''
| The latitude and longitude of the summit using the {{tl|coord}} template with ''display=inline,title''. If the article uses a geolinks template in the external links section, do not use the ''display'' parameter. <u>Note</u> that using <code>lat_d</code> and <code>long_d</code> will cause this parameter to be ignored.
|-
|'''coordinates_ref'''
| For any references regarding the coordinates reported.  <nowiki><ref> </ref></nowiki> tags must be used.
|-
|'''grid_ref_UK'''
| If the mountain is in [[Great Britain]], the [[British national grid reference system|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'''
| If the mountain is in [[Ireland]] (whether [[Northern Ireland]] or the [[Republic of Ireland|Republic]]), the [[Irish national grid reference system|Irish grid reference]]. For mountains outside Ireland, this field is not applicable and therefore should be removed if it is present.
|-
|'''topo'''
| 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 &mdash; see [[List of mountain types]].
|-
|'''volcanic_arc<br />volcanic_belt<br />volcanic_field<br />volcanic_arc/belt<br />'''
| If the mountain is a volcano, the [[volcanic arc|arc]], [[volcanic belt|belt]] or [[volcanic field|field]] in which it is situated. Each parameter displays an appropriate label.
|-
|'''age'''
| Age of the rock. [[Geologic time scale]]s 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 [http://www.volcano.si.edu/ 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. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added.
|-
|'''easiest_route'''
| The easiest route to the summit. Some possibilities include [[Hiking|Hike]], [[Scrambling|Scramble]] or any of the [[Yosemite Decimal System|YDS]] grades.
<!-- Should be in the article lead. No reason to duplicate here.
|-
|'''translation'''
| If the peak name is not English, the English translation.
|-
|'''language'''
| The language of the translation.
-->
|}


==General notes==
| label14  = [[British national grid reference system|OS grid]]
| data14  = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}}}


Blank starter templates for various areas of the world (just copy and paste):
| label15  = [[Irish grid reference system|OSI/OSNI grid]]
| data15  = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}}}


:* [[Wikipedia:WikiProject Mountains/infoboxes#Alps|Infobox for mountains in the Alps]]
| label16  = [[Geographic coordinate system|Coordinates]]
:* [[Wikipedia:WikiProject Mountains/infoboxes#Canada|Infobox for mountains in Canada]]
| data16  = {{#if:{{{lat_d|}}}{{{long_d|}}}
:* [[Wikipedia:WikiProject Mountains/infoboxes#Himalaya|Infobox for mountains in the Himalaya]]
            | {{Infobox coord
:* [[Wikipedia:WikiProject Mountains/infoboxes#United_Kingdom|Infobox for mountains in the United Kingdom]]
              | lat_d  = {{{lat_d|}}}
:* [[Wikipedia:WikiProject Mountains/infoboxes#United_States|Infobox for mountains in the United States]]
              | lat_m  = {{{lat_m|}}}
              | lat_s  = {{{lat_s|}}}
              | lat_NS  = {{{lat_NS|}}}
              | long_d  = {{{long_d|}}}
              | long_m  = {{{long_m|}}}
              | long_s  = {{{long_s|}}}
              | long_EW = {{{long_EW|}}}
              | type    = {{ifempty|{{{coord_type|}}}|mountain}}
              | region  = {{{region|}}}
              | dim    = {{{dim|}}}
              | scale  = {{{scale|}}}
              | source  = {{{source|}}}
              | format = {{{format|}}}    <!-- default is dms -->
              | display  = {{{display|}}} <!-- default is inline,title -->
              | name    = <!-- leave undefined -->
              }}
            | {{ifempty|{{{coordinates|}}}|{{{coords|}}}}}
            }}{{ifempty|{{{coordinates_ref|}}}|{{{coords_ref|}}}}}


==Examples==
| label17  = [[Topographic map|Topo map]]
| data17  = {{{topo|}}}


| header19 = {{#if:{{{type|}}}{{{age|}}}{{{volcanic_arc|}}}{{{volcanic_belt|}}}{{{volcanic_field|}}}<!--
              -->{{{volcanic_arc/belt|}}}{{{last_eruption|}}}|Geology}}


===A mountain infobox without a map===
| label20  = [[List of mountain types|Type]]
| data20  = {{{type|}}}


{{Infobox mountain
| label21  = [[Geologic time scale|Age of rock]]
| name          = Mount Shasta
| data21   = {{{age|}}}
| photo        = Mt_Shasta_from_the_northwest-750px.JPG
| photo_alt    = A large mountain rises in the distance over shrubs and trees, its peak covered with snow. A lower brown mountain on its right does not rise to a sharp peak.
| photo_caption = 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 593 [[kiloannum|ka]]
| last_eruption = 1786
| first_ascent  = 1854 by E.D. Pearce and party
| easiest_route = rock/ice
| listing      =
| translation  =
| language      =
}}


<pre style="max-width:60%; overflow:auto; margin-right:0.5em; font-size:95%;">
| label22  = {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]]
{{Infobox mountain
            | {{#if:{{{volcanic_belt|}}}|[[Volcanic belt]]
| name          = Mount Shasta
              | {{#if:{{{volcanic_field|}}}|[[Volcanic field]]
| photo        = Mt_Shasta_from_the_northwest-750px.JPG
                | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}}
| photo_alt    = A large mountain rises in the distance over shrubs and trees, its peak covered with snow. A lower brown mountain on its right does not rise to a sharp peak.
| data22  = {{ifempty|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}}
| photo_caption = 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 593 [[kiloannum|ka]]
| last_eruption = 1786
| first_ascent  = 1854 by E.D. Pearce and party
| easiest_route = rock/ice
| listing      =
| translation  =
| language      =
}}</pre>
{{clear}}


===A mountain infobox with a map===
| label23  = [[Volcano|Last eruption]]
{{Infobox mountain
| data23   = {{{last_eruption|}}}
| name            = K2
| photo          = K2-big.jpg
| photo_alt      = A large angular white mountain, with steeply sloped sides mostly covered with snow, dominates surrounding brown mountains
| photo_size      = 250
| photo_caption  = K2 in Summer
| elevation_m    = 8611
| elevation_ref  =
| prominence_m    = 4017
| listing        = [[Eight-thousander|2nd highest on Earth]]
| location        = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan]]
| range          = [[Karakoram]]
| topo            =
| first_ascent    = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| map            = Pakistan
| label_position  = right
| map_alt        = K2 is located on the far northwest border of Pakistan, next to China
| map_caption    = Location on Pakistan/China border
| map_size        = 200
| coordinates_ref =
| lat_d  = 35 | lat_m  = 52 | lat_s  = 57 | lat_NS  = N
| long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E
}}


<pre style="max-width:60%; overflow:auto; margin-right:0.5em; font-size:95%;">
| header25 = {{#if:{{{first_ascent|}}}{{{easiest_route|}}}|Climbing}}
{{Infobox mountain
| name            = K2
| photo          = K2-big.jpg
| photo_alt      = A large angular white mountain, with steeply sloped sides mostly covered with snow, dominates surrounding brown mountains
| photo_size      = 250
| photo_caption  = K2 in Summer
| elevation_m    = 8611
| elevation_ref  =
| prominence_m    = 4017
| listing        = [[Eight-thousander|2nd highest on Earth]]
| location        = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan]]
| range          = [[Karakoram]]
| topo            =
| first_ascent   = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| map            = Pakistan
| label_position  = right
| map_alt        = K2 is located on the far northwest border of Pakistan, next to China
| map_caption    = Location on Pakistan/China border
| map_size        = 200
| coordinates_ref =
| lat_d  = 35 | lat_m  = 52 | lat_s  = 57 | lat_NS  = N
| long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E
}}
</pre>
{{clear}}


== Microformat ==
| label26  = [[First ascent]]
The articles created using this template include an hCard microformat. For more information read [[:Template:UF-hcard-place|this]].
| data26  = {{{first_ascent|}}}


<includeonly>
| label27  = Easiest [[Climbing route|route]]
<!-- ADD CATEGORIES BELOW THIS LINE -->
| data27  = {{{easiest_route|}}}
[[Category:WikiProject Mountains]]
[[Category:Geography infobox templates|Mountain]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
| data28  = {{{embedded|}}}
[[an:Plantilla:Montañas]]
}}<noinclude>
[[ar:قالب:معلومات جبل]]
<!--
[[be-x-old:Шаблён:Гара]]
  PLEASE ADD CATEGORIES AND INTERWIKIS
[[bg:Шаблон:Планина]]
  TO THE /doc SUBPAGE, THANKS
[[bn:টেমপ্লেট:Infobox mountain]]
-->
[[cs:Šablona:Infobox - hora]]
{{documentation}}
[[cy:Nodyn:Mynydd]]
</noinclude>
[[de:Vorlage:Infobox Berg]]
[[dsb:Pśedłoga:Infokašćik góra]]
[[et:Mall:Mägi]]
[[eo:Ŝablono:Informkesto monto]]
[[es:Plantilla:Ficha de montaña]]
[[fa:الگو:دادان کوه]]
[[fr:Modèle:Infobox Montagne]]
[[he:תבנית:הר]]
[[hsb:Předłoha:Infokašćik hora]]
[[io:Shablono:Monto]]
[[it:Template:Montagna]]
[[ja:Template:Infobox 山]]
[[ka:თარგი:ინფოდაფა მთა]]
[[ko:틀:산 정보]]
[[ku:Şablon:Çiya]]
[[lv:Veidne:Infokaste kalns]]
[[hu:Sablon:Hegy infobox]]
[[ml:ഫലകം:Infobox Mountain]]
[[mk:Шаблон:Инфокутија Планина]]
[[no:Mal:Infoboks fjell]]
[[nn:Mal:Infoboks fjell]]
[[pl:Szablon:Góra infobox]]
[[pt:Predefinição:Info/Montanha]]
[[ro:Format:Infocaseta Munte]]
[[ru:Шаблон:Гора]]
[[fi:Malline:Vuori]]
[[sv:Mall:Berg]]
[[ta:வார்ப்புரு:தகவல் சட்டம் மலை]]
[[tr:Şablon:Dağ]]
[[ur:سانچہ:Infobox mountain]]
</includeonly>

Revision as of 20:13, 7 December 2012

[view] [edit] [history] [purge] File:Template-info.png Template documentation

Usage

The following parameters can be used to create a mountain infobox. Please remove any parameters that are not likely to be useful.

{{Infobox mountain
| name              = 
| other_name        = 
| photo             = 
| photo_size        = 
| photo_alt         = 
| photo_caption     = 
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| prominence        = 
| prominence_m      = 
| prominence_ft     = 
| prominence_ref    = 
| listing           = 
| range             = 
| parent_peak       = 
| location          = 
| map               = 
| map_alt           = 
| map_caption       = 
| map_relief        = 
| map_size          = 
| label             = 
| label_position    = 
| lat_d             = 
| lat_m             = 
| lat_s             = 
| lat_NS            = 
| long_d            = 
| long_m            = 
| long_s            = 
| long_EW           = 
| x                 = 
| y                 =
| region            = 
| coordinates       = 
| coordinates_ref   = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| topo              = 
| type              = 
| volcanic_arc/belt = 
| age               = 
| last_eruption     = 
| first_ascent      = 
| easiest_route     = 
}}

Parameters descriptions

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.

Parameter 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). An elevation must be supplied.
other_name Other name for the mountain if relatively well known. For example, Denali for Mount McKinley. Quotes can be used as normal to italicize or bold the text if desired.
pronunciation Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)
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 "File:" 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 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_alt Alt text for the photo, primarily for visually impaired readers. See Wikipedia:Alternative text for images.
photo_caption Description of the photograph which is displayed below. Include the month and year if known.
elevation Maximum height of the mountain. 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 the U.S. For conversions, use elevation_m for metres to feet or elevation_ft for feet to metres. This field is required.
elevation_ref Reference for the elevation using the standard <ref> </ref> tags. If elevation_m/elevation_ft was used, the reference must be supplied using this parameter.
prominence The clean topographic prominence of the summit. For conversions, use prominence_m for metres to feet or prominence_ft for feet to metres.
prominence_ref Reference for the prominence using the standard <ref> </ref> tags.
listing Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
location Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state. If a pushpin map is being used, the location will be used for the map's caption unless the map_caption parameter is set.
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.
parent_peak In computation of prominence, peaks form a hierarchy: this is the parent of the peak in the hierarchy. For more information, see Line parent.
map The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields (e.g. lat_d and long_d) 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 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_alt Alt text for the map, primarily for visually impaired readers. See Alt text for maps.
map_caption Fill out if a map caption is desired. If not specified, location will be used.
map_relief When set to a non-blank value, if the specified location map template has a relief map specified, it will be used. If there is no relief map specified by the location map template, the main image will be used. The default value is 1 so that relief maps are the default. To override this and use the main image, specify map_relief=0.
map_size Must be entered as only a number—no need for px. The default value is 250.
lat_d Latitude degrees. Can also be used for decimal degrees
lat_m Latitude minutes.
lat_s If known, latitude seconds.
lat_NS N for North; S for South.
long_d Longitude degrees.
long_m Longitude minutes.
long_s If known, longitude seconds.
long_EW E for East; W for West.
x
y
Specifies the position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See {{Infobox map}} for further details.
region Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See region.
source The source of the coordinate data. See source.
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 that using lat_d and long_d will cause this parameter to be ignored.
coordinates_ref For any references regarding the coordinates reported. <ref> </ref> tags must be used.
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 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 if it is present.
topo 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
volcanic_belt
volcanic_field
volcanic_arc/belt
If the mountain is a volcano, the arc, belt or field in which it is situated. Each parameter displays an appropriate label.
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. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added.
easiest_route The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades.

General notes

Blank starter templates for various areas of the world (just copy and paste):

Examples

A mountain infobox without a map

Mount Shasta
File:Mt Shasta from the northwest-750px.JPG
Mount Shasta and Shastina from the Butte Valley (North-East)
Elevation 14,179 feet (4,322 m)
Location
Location California, USA
Range Cascades
Topo map USGS Mount Shasta
Geology
Type Composite volcano
Age of rock Less than 593 ka
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_alt     = A large mountain rises in the distance over shrubs and trees, its peak covered with snow. A lower brown mountain on its right does not rise to a sharp peak.
| photo_caption = 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 593 [[kiloannum|ka]]
| last_eruption = 1786
| first_ascent  = 1854 by E.D. Pearce and party
| easiest_route = rock/ice
| listing       = 
| translation   = 
| language      = 
}}

A mountain infobox with a map

K2
File:K2-big.jpg
K2 in Summer
Elevation 8,611 m (28,251 ft)
Prominence 4,017 m (13,179 ft)
Listing 2nd highest on Earth
Location
Location on Pakistan/China border
Location Taxkorgan Tajik Autonomous County, Xinjiang, China/Northern Areas, Pakistan
Range Karakoram
Coordinates

35°52′57″N 76°30′48″E / 35.8825°N 76.51333°E / 35.8825; 76.51333Coordinates: 35°52′57″N 76°30′48″E / 35.8825°N 76.51333°E / 35.8825; 76.51333{{#coordinates:35|52|57|N|76|30|48|E|type:mountain_ |primary |name=

}}
Climbing
First ascent July 1954 by Lacedelli and Compagnoni
Easiest route Rock, snow and ice climb
{{Infobox mountain
| name            = K2
| photo           = K2-big.jpg
| photo_alt       = A large angular white mountain, with steeply sloped sides mostly covered with snow, dominates surrounding brown mountains
| photo_size      = 250
| photo_caption   = K2 in Summer
| elevation_m     = 8611
| elevation_ref   = 
| prominence_m    = 4017
| listing         = [[Eight-thousander|2nd highest on Earth]]
| location        = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan]]
| range           = [[Karakoram]]
| topo            = 
| first_ascent    = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| map             = Pakistan
| label_position  = right
| map_alt         = K2 is located on the far northwest border of Pakistan, next to China
| map_caption     = Location on Pakistan/China border
| map_size        = 200
| coordinates_ref = 
| lat_d  = 35 | lat_m  = 52 | lat_s  = 57 | lat_NS  = N
| long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E
}}

Microformat

The articles created using this template include an hCard microformat. For more information read this.

an:Plantilla:Montañas ar:قالب:معلومات جبل be-x-old:Шаблён:Гара bg:Шаблон:Планина bn:টেমপ্লেট:Infobox mountain cs:Šablona:Infobox - hora cy:Nodyn:Mynydd de:Vorlage:Infobox Berg dsb:Pśedłoga:Infokašćik góra et:Mall:Mägi eo:Ŝablono:Informkesto monto es:Plantilla:Ficha de montaña fa:الگو:دادان کوه fr:Modèle:Infobox Montagne he:תבנית:הר hsb:Předłoha:Infokašćik hora io:Shablono:Monto it:Template:Montagna ja:Template:Infobox 山 ka:თარგი:ინფოდაფა მთა ko:틀:산 정보 ku:Şablon:Çiya lv:Veidne:Infokaste kalns hu:Sablon:Hegy infobox ml:ഫലകം:Infobox Mountain mk:Шаблон:Инфокутија Планина no:Mal:Infoboks fjell nn:Mal:Infoboks fjell pl:Szablon:Góra infobox pt:Predefinição:Info/Montanha ro:Format:Infocaseta Munte ru:Шаблон:Гора fi:Malline:Vuori sv:Mall:Berg ta:வார்ப்புரு:தகவல் சட்டம் மலை tr:Şablon:Dağ ur:سانچہ:Infobox mountain