Template:Infobox mountain/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
→‎See also: rm unused cats
Ookami (talk | contribs)
m 255 revisions imported
 
(71 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{Under construction|placedby=[[User:Rehman]]|nosection=true}}
{{Documentation subpage}}
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{high-use|20800+}}
{{High-use|22967}}
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Coordinates|Module:String}}


==Usage==
==Usage==
The following parameters can be used to create an infobox for a mountain, a massif, or a mountain range. Please '''remove''' any parameters that are not likely to be useful.
The following parameters can be used to create an infobox for a mountain, hill, massif, or a mountain or hill range. Please '''remove''' any parameters that are not likely to be useful.


{{Parameter names example <!-- | child --> | name | other_name | native_name | native_name_lang | photo <!-- | photo_width --> | photo_size | photo_alt | photo_caption | map= | map_alt | map_width | map_size | map_caption | location | country | state | region | district | map_relief | label | label_position | lat_d= | lat_m | lat_s | lat_NS | long_d= | long_m | long_s | long_EW | range_lat_d= | range_lat_m | range_lat_s | range_lat_NS | range_long_d= | range_long_m | range_long_s | range_long_EW | x | y | x% | y% | elevation | elevation_m | elevation_ft | elevation_ref | prominence | prominence_m | prominence_ft | prominence_ref | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | parent_peak | listing | translation | language | pronunciation | range | coordinates | coords | topo | grid_ref_UK | grid_ref_Ireland | map_border | coord_type | region_code | region | dim | scale | source | format | display | coordinates_ref | coords_ref | type | age | volcanic_arc | volcanic_belt | volcanic_field | volcanic_arc/belt | last_eruption | first_ascent | easiest_route | normal_route | access | embedded }}
{{Parameter names example <!-- | child --> | name | other_name | etymology | native_name | native_name_lang | photo <!-- | photo_width --> | photo_size | photo_alt | photo_caption | map_image | map_alt | map_width | map_size | map_caption | location | country | state | region | district | map_relief | label | label_position | elevation | elevation_m | elevation_ft | elevation_ref | prominence | prominence_m | prominence_ft | prominence_ref | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | parent_peak | listing | translation | language | pronunciation | range | coordinates | topo | grid_ref_UK | grid_ref_Ireland | region | coordinates_ref | coords_ref | geology | type | age | volcanic_arc | volcanic_belt | volcanic_field | volcanic_arc/belt | last_eruption | first_ascent | easiest_route | normal_route | access | embedded }}
{{Parameter names example | name=Without ''photo_size'' | photo | photo_alt | photo_caption }}
{{Parameter names example | name=Without ''photo_size'' | photo | photo_alt | photo_caption }}


<pre style="width:15em;">
<pre style="width:30em;">
{{Infobox mountain
{{Infobox mountain
| name              =  
| name              = {{subst:PAGENAME}}
| other_name        =  
| other_name        =  
| photo            =  
| etymology        =  
| native_name      =  
| native_name      =  
| native_name_lang  =  
| native_name_lang  =  
| translation      =
| pronunciation    =
| photo            =
| photo_size        =  
| photo_size        =  
| photo_alt        =  
| photo_alt        =  
| photo_caption    =  
| photo_caption    =  
| map              =  
| map              =  
| map_image        =
| map_alt          =  
| map_alt          =  
| map_border        =
| map_caption      =  
| map_caption      =  
| map_relief        =  
| map_relief        =  
Line 28: Line 34:
| label            =  
| label            =  
| label_position    =  
| label_position    =  
| lat_d            =
| lat_m            =
| lat_s            =
| lat_NS            =
| long_d            =
| long_m            =
| long_s            =
| long_EW          =
| x                =
| y                =
| elevation        =  
| elevation        =  
| elevation_m      =  
| elevation_m      =  
Line 52: Line 48:
| parent_peak      =  
| parent_peak      =  
| listing          =  
| listing          =  
| translation      =
| language          =
| pronunciation    =
| range            =  
| range            =  
| coordinates      =  
| coordinates      =  
| coordinates_ref  =  
| coordinates_ref  =  
| topo              =  
| topo              =  
| grid_ref_UK      =
| grid_ref_Ireland  =
| coord_type        =
| region_code      =
| scale            =
| source            =
| format            =
| display          =
| type              =  
| type              =  
| age              =  
| age              =  
| geology          =
| volcanic_arc      =  
| volcanic_arc      =  
| volcanic_belt    =  
| volcanic_belt    =  
Line 91: Line 77:
! 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 (Canada)]] or [[Mount Columbia (Colorado)]]). An elevation must be supplied.
| 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 (Canada)]] or [[Mount Columbia (Colorado)]]). An elevation must be supplied.
|-
! native_name
| Name in local language. If more than one, separate using {{tl|Plain list}} and {{tl|native_name}}
|-
! language
| Language of native name. Do not use for multiple native names
|-
! native_name_lang
| ISO 639-2 code for language of native name (e.g. "fr" for French.). Either '''language''' or '''native_name_lang''' can be used. Do not use for multiple native_name
|-
|-
! other_name
! other_name
| Other name for the mountain if relatively well known. For example, Mount McKinley for Denali. Quotes can be used as normal to italicize or bold the text if desired.
| Other name for the mountain, if relatively well known. Quotes can be used as normal to italicize or bold the text if desired. Use <code>native_name</code> instead, if other name is in a different language from main name. Use {{tl|lang}} to denote language if non-English.
|-
|-
! native_name
! etymology
| Name in local language. If more than one, separate using {{tl|Plain list}}
| Origin of name
|-
|-
! native_name_lang
! translation
| ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead
| Translation of name to English (if name is not an English name)
|-
|-
! pronunciation
! pronunciation
Line 127: Line 122:
|-
|-
! map
! 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]]
| The name of a location map as per [[Template:Location map]] (e.g. ''Indonesia'' or ''Russia''). The coordinates template ({{tl|coord}}) positions a pushpin marker and label on the map '''automatically'''. Example see: [[Mount Everest]]. For a static image, use {{para|map_image}}
|-
! map_image
| The file name of a static map image to be displayed.  To use a [[Template:location map|location map]], use {{para|map}}.
|-
|-
! map_alt
! map_alt
Line 140: Line 138:
! map_size
! map_size
|  Must be entered as only a number—'''no need for px'''.  The default value and maximum is 272.
|  Must be entered as only a number—'''no need for px'''.  The default value and maximum is 272.
|-
! 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.
|}
|}


Line 149: Line 144:
|-
|-
! highest
! highest
| Name of highest peak in the range
| Name of highest summit of a single mountain or peak in the range
|-
|-
! highest_location
! highest_location
| location of highest peak, e.g., country or province
| location of highest point, e.g., country or province
|-
|-
! elevation_m
! elevation_m
| Height of highest point in the range, in meters, as a number (e.g., 8848). Will automatically convert to feet. The infobox uses the same rounding method as {{tl|convert}}: it guesses the precision from the value. If an editor wishes to specify the precision, use {{tl|convert}} and the freeform parameter, "elevation" instead.
| Height of highest point, in meters, as a number (e.g., 8848) or interval of plus/minus spaced (8850&nbsp;+/-&nbsp;10). Will automatically convert to feet. The infobox uses the same rounding method as {{tl|convert}}: it guesses the precision from the value. If an editor wishes to specify the precision, use {{tl|convert}} and the freeform parameter, "elevation" instead.
|-
|-
! prominence_m
! prominence_m
Line 161: Line 156:
|-
|-
! length_km
! length_km
| rowspan=2 | Length and width of range, in kilometers, as a number. Will automatically convert to miles. Uses same rounding as {{tl|convert}}
| rowspan=2 | Length and width of mountain or range, in kilometers, as a number. Will automatically convert to miles. Uses same rounding as {{tl|convert}}
|-
|-
! width_km
! width_km
|-
|-
! area_km2
! area_km2
| Area of range, in square kilometers, as a number. Will automatically convert to square miles. Uses same rounding as {{tl|convert}}
| Area of mountain or range, in square kilometers, as a number. Will automatically convert to square miles. Uses same rounding as {{tl|convert}}
|-
|-
! length_orientation
! length_orientation
Line 210: Line 205:
! area_note
! area_note
|}
|}
{{clearright}}
{{clear right}}


===Coordinate parameters===
===Coordinate parameters===
There are three ways to enter the location of a mountain range, which controls the content of two different optional fields:
There are four ways to enter the location of a mountain or a range:
{| class=wikitable
{| class=wikitable
|-
|-
! lat_d
! coordinates
| rowspan=8 | Coordinates for highest peak in range. Will appear under "highest point" section as a link.
| Coordinates for the single peak (if a  mountain) or the highest peak in range. Will appear under "highest point" section as a link.  Use {{tl|coord}} to specify the coordinates, [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code, scale, dim, ... See [[Wikipedia:WikiProject_Geographical_coordinates#Coordinate_templates|the documentation]] for details.
|-
|-
! lat_m
! range_coordinates
| Overall coordinates for range, usually the center of the range. Not intended for use in infoboxes about single peaks. Will appear in Geography section as "Range coordinates" and link.  Use {{tl|coord}} to specify the coordinates, ISO region, scale, dim, ... Will place mark on map without label, unless {{para|coordinates}} is supplied.
|-
|-
! lat_s
! 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. Will not place mark on map. Use only the OS grid ref, do not add a reference to this field.
|-
|-
! lat_NS
! 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. Will not place mark on map. Use only the OS grid ref, do not att a reference to this field.
! long_d
|}
|-
References (or other notes) for the coordinates can be added via notes parameters:
! long_m
{| class=wikitable
|-
! long_s
|-
! long_EW
|-
! range_lat_d
| rowspan=8 | Overall coordinates for range, usually the center of the range. Will appear in Geography section as "Range coordinates" and link
|-
! range_lat_m
|-
! range_lat_s
|-
! range_lat_NS
|-
! range_long_d
|-
! range_long_m
|-
! range_long_s
|-
! range_long_EW
|-
! coordinates
| Free-form field for entering coordinates. Will appear as "Range coordinates" in Geography section
|-
|-
! coordinates_note
! coordinates_note
| Add a note after the Coordinates link
| Reference or other notes displayed on the same line as the {{para|coordinates}} data
|-
|-
! range_coordinates_note
! range_coordinates_note
| Add a note after the Range coordinates link
| Reference or other notes displayed on the same line as the {{para|range_coordinates}} data
|-
! 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.
|-
|-
! region_code
! grid_ref_UK_note
| Either a two character [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code. See [[WP:COORD REGION|region]].
| Reference or other notes displayed on the same line as the {{para|grid_ref_UK}} data
|-
|-
! source
! grid_ref_Ireland_note
| The source of the coordinate data. See [[WP:COORD SOURCE|source]].
| Reference or other notes displayed on the same line as the {{para|grid_ref_Ireland}} data
|}
|}


Line 312: Line 279:
|-
|-
! border,border1,...,border3
! border,border1,...,border3
| Other mountain ranges that border this one
| Geographical entities that form the border of the mountain or range
|-
|-
! biome
! biome
Line 325: Line 292:
! type
! type
| The type of mountain — see [[List of mountain types]].
| The type of mountain — see [[List of mountain types]].
|-
! geology<br />geology1, etc.
| Type of the rock mountain is made from
|-
|-
! age
! age
Line 353: Line 323:


<!--- TODO: update templatedata !! ! --->
<!--- TODO: update templatedata !! ! --->
{{cot|Extended parameter listing}}
 
== TemplateData ==
{{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<templatedata>
<templatedata>
{
{
"description": "This template is used to create an infobox for an article about a mountain.",
"params": {
"params": {
"name": {
"name": {
Line 361: Line 335:
"label": "Name",
"label": "Name",
"type": "string",
"type": "string",
"description": "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 (Canada) or Mount Columbia (Colorado). An elevation must be supplied."
"description": "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 (Canada) or Mount Columbia (Colorado)."
},
                "other_name": {
                        "required": false,
                        "label": "Other name",
                        "type": "string",
                        "description": "An alternate English name for the mountain, e.g., \"Mount McKinley\" for Denali. Quotes can be used as normal to italicize or bold the text if desired."
                },
                "etymology": {
                        "required": false,
                        "label": "Etymology",
                        "type": "string",
                        "description": "The etymology of the name"
                },
                "native_name": {
                        "required": false,
                        "label": "Native name",
                        "type": "string",
                        "description": "The name of the mountain in the local language, if not English."
                },
                "native_name_lang": {
                        "required": false,
                        "label": "ISO 639 language code",
                        "type": "string",
                        "description": "The ISO 639 code for the language of the mountain name (if not English). e.g., \"fr\" for French"
                },
                "language": {
"required": false,
"label": "Language",
"type": "string",
"description": "Language of mountain name."
},   
"translation": {
"required": false,
"label": "Translation",
"type": "string",
"description": "Translation of the mountain's name into English"
},
"pronunciation": {
"required": false,
"label": "Pronunciation",
"type": "string",
"description": "Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)"
},
},
"photo": {
"photo": {
Line 385: Line 401:
"label": "Map",
"label": "Map",
"type": "string",
"type": "string",
"description": "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"
"description": "The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields position a pushpin coordinate marker and label on the map automatically. Example see: Mount Everest. For a static image, use map_image"
},
"map_image": {
"required": false,
"label": "Map",
"type": "string",
"description": "The file name of a static map image to be displayed.  For a [[Template:location map|location map]], use map"
},
},
"map_alt": {
"map_alt": {
Line 423: Line 445:
"type": "string/line",
"type": "string/line",
"description": "The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}."
"description": "The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}."
},
"lat_d": {
"required": false,
"label": "Latitude degrees",
"type": "string",
"description": "Latitude degrees. Can also be used for decimal degrees."
},
"lat_m": {
"required": false,
"label": "Latitude minutes",
"type": "string",
"description": "Latitude minutes."
},
"lat_s": {
"required": false,
"label": "Latitude seconds",
"type": "string",
"description": "If known, latitude seconds."
},
"lat_NS": {
"required": false,
"label": "Latitude North/South",
"type": "string/line",
"description": "N for North; S for South."
},
"long_d": {
"required": false,
"label": "Longitude degrees",
"type": "string",
"description": "Longitude degrees. Can also be used for decimal degrees."
},
"long_m": {
"required": false,
"label": "Longitude minutes",
"type": "string",
"description": "Longitude minutes."
},
"long_s": {
"required": false,
"label": "Longitude seconds",
"type": "string",
"description": "If known, longitude seconds."
},
"long_EW": {
"required": false,
"label": "Latitude East/West",
"type": "string/line",
"description": "E for East; W for West."
},
"x": {
"required": false,
"label": "X",
"type": "string/line",
"description": "Specifies the X 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."
},
"y": {
"required": false,
"label": "Y",
"type": "string/line",
"description": "Specifies the Y 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."
},
},
"elevation": {
"elevation": {
Line 544: Line 506:
"description": "Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples."
"description": "Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples."
},
},
"translation": {
 
"required": false,
"label": "Translation",
"type": "string",
"description": "Translation of the mountain's name."
},
"language": {
"required": false,
"label": "Language",
"type": "string",
"description": "Original language of mountain name."
},
"pronunciation": {
"required": false,
"label": "Pronunciation",
"type": "string",
"description": "Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)"
},
"range": {
"range": {
"required": false,
"required": false,
Line 575: Line 520:
"coords"
"coords"
],
],
"description": "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."
"description": "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."
},
},
"topo": {
"topo": {
Line 587: Line 532:
"label": "Grid ref (UK)",
"label": "Grid ref (UK)",
"type": "string",
"type": "string",
"description": "Direct url to Ordnance Survey National Grid (UK) for the mountain, passed to {{gbm4ibx}}."
"description": "Ordnance Survey (UK) grid reference for the mountain, passed to {{gbm4ibx}}."
},
},
                "grid_ref_UK_note": {
                        "required": false,
                        "label":  "Notes for grid_ref_UK",
                        "description":  "Notes for grid_ref_UK, e.g., a citation."
                },
"grid_ref_Ireland": {
"grid_ref_Ireland": {
"required": false,
"required": false,
"label": "Grid ref (Ireland)",
"label": "Grid ref (Ireland)",
"type": "string",
"type": "string",
"description": "Direct url to Ordnance Survey National Grid (Ireland) for the mountain, passed to {{iem4ibx}}."
"description": "Ordnance Survey(Ireland) grid reference for the mountain, passed to {{iem4ibx}}."
},
},
                "grid_ref_Ireland_note": {
                        "required": false,
                        "label":  "Notes for grid_ref_Ireland",
                        "description":  "Notes for grid_ref_Ireland, e.g., a citation."
                },
"coord_type": {
"coord_type": {
"required": false,
"required": false,
Line 608: Line 563:
"description": "Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See [[Wikipedia:COORD REGION]]."
"description": "Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See [[Wikipedia:COORD REGION]]."
},
},
"dim": {
"required": false,
"label": "Mountain width",
"type": "string",
"description": "Width of the mountain, see [[Wikipedia:WikiProject Geographical coordinates/dim:]]."
},
"scale": {
"required": false,
"label": "Scale",
"type": "string",
"description": "Scale of the mountain, see [[Wikipedia:WikiProject Geographical coordinates/scale:]]."
},
"source": {
"source": {
"required": false,
"required": false,
Line 704: Line 648:
"label": "Child",
"label": "Child",
"description": "\"yes\" if the mountain infobox is embedded inside another Infobox"
"description": "\"yes\" if the mountain infobox is embedded inside another Infobox"
},
"other_name": {
"aliases": [
"native_name"
],
"required": false,
"label": "Other name",
"type": "string",
"description": "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."
},
},
"map_size": {
"map_size": {
Line 730: Line 665:
"description": "Width of the photo, if less than 280px."
"description": "Width of the photo, if less than 280px."
}
}
},
}
"description": "Used to create a mountain infobox, based on the basic infobox format."
}
}
</templatedata>
</templatedata>
{{cob}}
{{Collapse bottom}}


==General notes==
==General notes==
Line 758: Line 692:
| range        = [[Cascade Range|Cascades]]
| range        = [[Cascade Range|Cascades]]
| prominence    =  
| prominence    =  
| coordinates  = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline}}
| coordinates  = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline<!--,title-->}}
| topo          = [[United States Geological Survey|USGS]] Mount Shasta
| topo          = [[United States Geological Survey|USGS]] Mount Shasta
| type          = [[Composite volcano]]
| type          = [[Composite volcano]]
Line 779: Line 713:
| range        = [[Cascade Range|Cascades]]
| range        = [[Cascade Range|Cascades]]
| prominence    =  
| prominence    =  
| coordinates  = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline,title}}
| coordinates  = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline<!--,title-->}}
| topo          = [[United States Geological Survey|USGS]] Mount Shasta
| topo          = [[United States Geological Survey|USGS]] Mount Shasta
| type          = [[Composite volcano]]
| type          = [[Composite volcano]]
| age          = Less than 593 [[kiloannum|ka]]
| 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
| easiest_route = rock/ice
| easiest_route = rock/ice
| listing      =  
| listing      =  
Line 792: Line 726:
===A mountain infobox with a map===
===A mountain infobox with a map===
{{Infobox mountain
{{Infobox mountain
| name           = K2
| name           = K2
| photo           = K2 2006b.jpg
| photo         = K2 2006b.jpg
| photo_size     = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_size     = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_alt       = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| photo_alt     = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| photo_caption   = K2 in Summer
| photo_caption = K2 in Summer
| elevation_m     = 8611
| elevation_m   = 8611
| elevation_ref   =  
| elevation_ref =  
| prominence_m   = 4017
| prominence_m   = 4017
| listing         = [[Eight-thousander|2nd highest on Earth]]
| listing       = [[Eight-thousander|2nd highest on Earth]]
| location       = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/<br />[[Gilgit-Baltistan]], [[Pakistan]]
| location       = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], China/<br>[[Gilgit-Baltistan]], [[Pakistan]]
| range           = [[Karakoram]]
| range         = [[Karakoram]]
| topo           =  
| topo           =  
| first_ascent   = July 1954 by Lacedelli and Compagnoni
| first_ascent   = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| easiest_route = Rock, snow and ice climb
| map             = Pakistan
| map           = Pakistan
| label_position = right
| label_position = right
| map_alt         = K2 is located on the far northwest border of Pakistan, next to China
| map_alt       = K2 is located on the far northwest border of Pakistan, next to China
| map_caption     = Location on Pakistan/China border
| map_caption   = Location on Pakistan/China border
| map_size       = 200
| map_size       = 300
| coordinates_ref =  
| coordinates    = {{coord|35|52|57|N|76|30|48|E|type:mountain|display=inline<!--,title-->}}
| 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="overflow:auto; margin-right:0.5em; font-size:95%;">
<pre style="overflow:auto; margin-right:0.5em; font-size:95%;">
{{Infobox mountain
{{Infobox mountain
| name           = K2
| name           = K2
| photo           = K2 2006b.jpg
| photo         = K2 2006b.jpg
| photo_size     = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_size     = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_alt       = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| photo_alt     = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| photo_caption   = K2 in Summer
| photo_caption = K2 in Summer
| elevation_m     = 8611
| elevation_m   = 8611
| elevation_ref   =
| elevation_ref =  
| prominence_m   = 4017
| prominence_m   = 4017
| listing         = [[Eight-thousander|2nd highest on Earth]]
| listing       = [[Eight-thousander|2nd highest on Earth]]
| location       = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan]]
| location       = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], China/[[Northern Areas, Pakistan]]
| range           = [[Karakoram]]
| range         = [[Karakoram]]
| topo           =
| topo           =  
| first_ascent   = July 1954 by Lacedelli and Compagnoni
| first_ascent   = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| easiest_route = Rock, snow and ice climb
| map             = Pakistan
| map           = Pakistan
| label_position = right
| label_position = right
| map_alt         = K2 is located on the far northwest border of Pakistan, next to China
| map_alt       = K2 is located on the far northwest border of Pakistan, next to China
| map_caption     = Location on Pakistan/China border
| map_caption   = Location on Pakistan/China border
| map_size       = 200
| map_size       = 300
| coordinates_ref =
| coordinates    = {{coord|35|52|57|N|76|30|48|E|type:mountain|display=inline<!--,title-->}}
| 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>
</pre>
Line 845: Line 775:


== Microformat ==
== Microformat ==
{{UF-hcard-geo}}


{{UF-hcard-geo}}
== Tracking categories ==
* {{category link with count|Pages using infobox mountain with unknown parameters}}
* {{category link with count|No local image but image on Wikidata}} – Used by this and other infoboxes (via [[Template:Wikidata image]]) to track articles where the infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, update the infobox to display an image or add {{para|nocat_wdimage|yes}}.
 
== Supporting templates ==
The following templates are used directly from this template:
{{Columns-list|colwidth=20em|
* {{tl|Infobox}}
* {{tl|Collapsible list}}
* {{tl|Convert}}
* {{tl|Convinfobox}}
* {{tl|Enum}}
* {{tl|Gbm4ibx}}
* {{tl|Iem4ibx}}
* {{tl|If empty}}
* {{tl|Infobox dim}}
* {{tl|Location map}}
* {{tl|Main other}}
* {{tl|PAGENAMEBASE}}
* {{tl|Wikidata image}}
}}


== See also ==
<includeonly>{{Sandbox other||
; Hidden tracking/maintenance categories
* [[:Category:Pages using hardcoded relief location maps]]
* {{cl|Pages using infobox mountain with unknown parameters}}


<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Mountain templates]]
[[Category:Mountain templates]]
[[Category:WikiProject Mountains templates]]
[[Category:WikiProject Mountains templates]]
[[Category:Geography infobox templates|Mountain]]
[[Category:Geography infobox templates|Mountain]]
[[Category:Embeddable templates|Mountain]]
[[Category:Infobox templates with module parameter|Mountain]]
[[Category:Infobox templates with module parameter|Mountain]]
[[Category:Embeddable templates|{{PAGENAME}}]]
[[Category:Templates that add a tracking category]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
}}</includeonly>

Latest revision as of 17:27, 3 September 2020

Usage

The following parameters can be used to create an infobox for a mountain, hill, massif, or a mountain or hill range. Please remove any parameters that are not likely to be useful.

{{{name}}}
{{{other_name}}}
[[File:{{{photo}}}|{{{photo_size}}}|alt={{{photo_alt}}}|upright=1]]
{{{photo_caption}}}
Highest point
Elevation{{{elevation}}} {{{elevation_ref}}}
Prominence{{{prominence}}} {{{prominence_ref}}}
Parent peak{{{parent_peak}}}
Isolation{{{isolation}}}
to {{{isolation_parent}}} {{{isolation_ref}}}
Listing{{{listing}}}
Coordinates{{{coordinates}}} {{{coordinates_ref}}}
Naming
Etymology{{{etymology}}}
Native name[{{{native_name}}}] Error: {{Native name}}: unrecognized language tag: {{{native_name_lang}}} (help)  (language?)
English translation{{{translation}}}
Pronunciation{{{pronunciation}}}
Geography
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1.16]]
{{{map_caption}}}
Location{{{location}}}
Country{{{country}}}
State{{{state}}}
Region{{{region}}}
District{{{district}}}
Parent range{{{range}}}
OS grid
  1. REDIRECT Template:Ordnance Survey coordinates
OSI/OSNI grid
  1. REDIRECT Template:Ordnance Survey coordinates
Topo map{{{topo}}}
Geology
Age of rock{{{age}}}
Mountain type{{{type}}}
Type of rock{{{geology}}}
Volcanic arc{{{volcanic_arc}}}
Last eruption{{{last_eruption}}}
Climbing
First ascent{{{first_ascent}}}
Easiest route{{{easiest_route}}}
Normal route{{{normal_route}}}
Access{{{access}}}
{{{embedded}}}
Without photo_size
[[File:{{{photo}}}|300px|alt={{{photo_alt}}}|upright=1]]
{{{photo_caption}}}
{{Infobox mountain
| name              = {{subst:PAGENAME}}
| other_name        = 
| etymology         = 
| native_name       = 
| native_name_lang  = 
| translation       = 
| pronunciation     = 
| photo             = 
| photo_size        = 
| photo_alt         = 
| photo_caption     = 
| map               = 
| map_image         = 
| map_alt           = 
| map_caption       = 
| map_relief        = 
| map_size          = 
| location          = 
| label             = 
| label_position    = 
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| prominence        = 
| prominence_m      = 
| prominence_ft     = 
| prominence_ref    = 
| isolation         = 
| isolation_km      = 
| isolation_mi      = 
| isolation_ref     = 
| parent_peak       = 
| listing           = 
| range             = 
| coordinates       = 
| coordinates_ref   = 
| topo              = 
| type              = 
| age               = 
| geology           = 
| volcanic_arc      = 
| volcanic_belt     = 
| volcanic_field    = 
| volcanic_arc/belt = 
| last_eruption     = 
| first_ascent      = 
| easiest_route     = 
| normal_route      = 
| access            = 
| child             = 
| embedded          = 
}}

Parameters

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.

Naming and hierarchy parameters

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 (Canada) or Mount Columbia (Colorado)). An elevation must be supplied.
native_name Name in local language. If more than one, separate using {{Plain list}} and {{native_name}}
language Language of native name. Do not use for multiple native names
native_name_lang ISO 639-2 code for language of native name (e.g. "fr" for French.). Either language or native_name_lang can be used. Do not use for multiple native_name
other_name Other name for the mountain, if relatively well known. Quotes can be used as normal to italicize or bold the text if desired. Use native_name instead, if other name is in a different language from main name. Use {{lang}} to denote language if non-English.
etymology Origin of name
translation Translation of name to English (if name is not an English name)
pronunciation Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)
listing Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
range Mountain range that the mountain/massif/range belongs to, 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.

Photographic and mapping parameters

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.
photo_size The image width in pixels. If specified, the maximum width is 280px. If not specified, the image uses frameless with upright=1.25 which displays it at approximately 125% of the user's default thumbnail size (for most users the image will display at 280px; for logged-in users who have changed the setting at Special:Preferences the displayed image could range from 150px to 500px). See also: Module:InfoboxImage, WP:AUTOSIZE, WP:EIS, WP:IMGSIZE, and MOS:IMGSIZE.
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.
map The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinates template ({{coord}}) positions a pushpin marker and label on the map automatically. Example see: Mount Everest. For a static image, use |map_image=
map_image The file name of a static map image to be displayed. To use a location map, use |map=.
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 If a location map template is specified, this template will attempt to display a relief map if one is available. To force the default map image to display use |map_relief=0.
map_size Must be entered as only a number—no need for px. The default value and maximum is 272.

Dimensional parameters

highest Name of highest summit of a single mountain or peak in the range
highest_location location of highest point, e.g., country or province
elevation_m Height of highest point, in meters, as a number (e.g., 8848) or interval of plus/minus spaced (8850 +/- 10). Will automatically convert to feet. The infobox uses the same rounding method as {{convert}}: it guesses the precision from the value. If an editor wishes to specify the precision, use {{convert}} and the freeform parameter, "elevation" instead.
prominence_m The clean topographic prominence of the highest point. Uses same rounding as {{convert}}.
length_km Length and width of mountain or range, in kilometers, as a number. Will automatically convert to miles. Uses same rounding as {{convert}}
width_km
area_km2 Area of mountain or range, in square kilometers, as a number. Will automatically convert to square miles. Uses same rounding as {{convert}}
length_orientation Length orientation such as N-S for North to South
width_orientation Width orientation such as E-W for East to West
elevation_ft As above, except number is expressed in U.S. units, and will automatically convert to metric. Please use only for mountain ranges in the United States. Uses same rounding as {{convert}}.
prominence_ft
length_mi
width_mi
area_mi2
elevation Free form field for expressing dimension, no automatic unit conversion. To be used instead of parameters like elevation_m or elevation_ft
prominence
length
width
area
elevation_system The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
elevation_note Note field after dimensional quantity, typically used for inline citation that supports the quantity
prominence_note
length_note
width_note
area_note

Coordinate parameters

There are four ways to enter the location of a mountain or a range:

coordinates Coordinates for the single peak (if a mountain) or the highest peak in range. Will appear under "highest point" section as a link. Use {{coord}} to specify the coordinates, ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code, scale, dim, ... See the documentation for details.
range_coordinates Overall coordinates for range, usually the center of the range. Not intended for use in infoboxes about single peaks. Will appear in Geography section as "Range coordinates" and link. Use {{coord}} to specify the coordinates, ISO region, scale, dim, ... Will place mark on map without label, unless |coordinates= is supplied.
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. Will not place mark on map. Use only the OS grid ref, do not add a reference to this field.
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. Will not place mark on map. Use only the OS grid ref, do not att a reference to this field.

References (or other notes) for the coordinates can be added via notes parameters:

coordinates_note Reference or other notes displayed on the same line as the |coordinates= data
range_coordinates_note Reference or other notes displayed on the same line as the |range_coordinates= data
grid_ref_UK_note Reference or other notes displayed on the same line as the |grid_ref_UK= data
grid_ref_Ireland_note Reference or other notes displayed on the same line as the |grid_ref_Ireland= data

Geographical parameters

location Free-form field describing location of range, similar to {{Infobox mountain}}
country,country1,...,country19 Countries that range spans. First use country, then country# in order. For more than four countries, infobox will automatically put into collapsed list.
country_type Alternative label for country, e.g., use Continent for ranges in Antarctica
state,state1,...,state19 States that range spans. For provinces, set state_type to "Province"
state_type Alternative label for state, e.g. Province
region,region1,...,region23 Sub-national regions that range spans.
region_type Label for sub-national regions, overriding default "State/Province"
district,district1,...,district19 Sub-regional areas that range spans, e.g., counties in the United States
district_type Label for sub-regional areas, overriding default "District"
city,city1,...,city19 Settlements within the mountain range.
city_type Label for settlements, overriding default "Settlement"
parent Parent mountain range
border,border1,...,border3 Geographical entities that form the border of the mountain or range
biome Biome(s) for range
topo_maker,topo_map The publisher and name (respectively) of the topographic map that contains the range

Geological parameters

type The type of mountain — see List of mountain types.
geology
geology1, etc.
Type of the rock mountain is made from
age Age of the rock. Geologic time scales may be useful here.
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.
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.

Miscellaneous parameters

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.
child "yes" if the mountain infobox is embedded inside another Infobox
embedded value = another Infobox to place within the mountain infobox. The other infobox will show up at the end of the mountain infobox. The other infobox needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate.


TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Infobox mountain

This template is used to create an infobox for an article about a mountain.

Template parameters

ParameterDescriptionTypeStatus
Namename

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 (Canada) or Mount Columbia (Colorado).

Stringrequired
Other nameother_name

An alternate English name for the mountain, e.g., "Mount McKinley" for Denali. Quotes can be used as normal to italicize or bold the text if desired.

Stringoptional
Etymologyetymology

The etymology of the name

Stringoptional
Native namenative_name

The name of the mountain in the local language, if not English.

Stringoptional
ISO 639 language codenative_name_lang

The ISO 639 code for the language of the mountain name (if not English). e.g., "fr" for French

Stringoptional
Languagelanguage

Language of mountain name.

Stringoptional
Translationtranslation

Translation of the mountain's name into English

Stringoptional
Pronunciationpronunciation

Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)

Stringoptional
Photophoto

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 280px wide, you can use the photo_size parameter to indicate its size.

Stringoptional
Photo altphoto_alt

Alt text for the photo, primarily for visually impaired readers. See Wikipedia:Alternative text for images.

Stringoptional
Photo captionphoto_caption

Description of the photograph which is displayed below. Include the month and year if known.

Stringoptional
Mapmap

The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields position a pushpin coordinate marker and label on the map automatically. Example see: Mount Everest. For a static image, use map_image

Stringoptional
Mapmap_image

The file name of a static map image to be displayed. For a [[Template:location map|location map]], use map

Stringoptional
Map altmap_alt

Alt text for the map, primarily for visually impaired readers. See [[Wikipedia:Alternative text for images#Maps]].

Stringoptional
Map captionmap_caption

Fill out if a map caption is desired. If not specified, location will be used.

Stringoptional
Locationlocation

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.

Stringoptional
Map reliefmap_relief

If a location map template is specified, this template will attempt to display a relief map if one is available. To force the default map image to display set to 0.

Stringoptional
Labellabel

Label to be used for the mountain's location on the map. If not specified, the value of the name parameter is used.

Stringoptional
Label positionlabel_position

The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}.

Default
right
Lineoptional
Elevationelevation

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.

Stringoptional
Elevation (meters)elevation_m

Maximum height of the mountain, metres.

Stringoptional
Elevation (feet)elevation_ft

Maximum height of the mountain, feet.

Stringoptional
Elevation refelevation_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.

Stringoptional
Prominenceprominence

The clean topographic prominence of the summit. For conversions, use prominence_m for metres to feet or prominence_ft for feet to metres.

Stringoptional
Prominence (meters)prominence_m

The clean topographic prominence of the summit, metres.

Stringoptional
Prominence (feet)prominence_ft

The clean topographic prominence of the summit, feet.

Stringoptional
Prominence refprominence_ref

Reference for the prominence using the standard <ref> </ref> tags.

Stringoptional
Parent peakparent_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.

Stringoptional
Listinglisting

Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.

Stringoptional
Rangerange

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.

Stringoptional
Coordinatescoordinates coords

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.

Stringoptional
Topotopo

Topographic map

Stringoptional
Grid ref (UK)grid_ref_UK

Ordnance Survey (UK) grid reference for the mountain, passed to {{gbm4ibx}}.

Stringoptional
Notes for grid_ref_UKgrid_ref_UK_note

Notes for grid_ref_UK, e.g., a citation.

Unknownoptional
Grid ref (Ireland)grid_ref_Ireland

Ordnance Survey(Ireland) grid reference for the mountain, passed to {{iem4ibx}}.

Stringoptional
Notes for grid_ref_Irelandgrid_ref_Ireland_note

Notes for grid_ref_Ireland, e.g., a citation.

Unknownoptional
Coordinate typecoord_type

Type, from [[Wikipedia:WikiProject Geographical coordinates/type:]].

Default
mountain
Stringoptional
Regionregion_code

Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See [[Wikipedia:COORD REGION]].

Lineoptional
Sourcesource

The source of the coordinate data. See [[Wikipedia:COORD SOURCE]].

Stringoptional
Formatformat

Format to display degrees in the coordinate listing. dms for degree, minutes, second output (the default), or dec for decimal degree output.

Default
dms
Lineoptional
Coordinates refcoordinates_ref

For any references regarding the coordinates reported. <ref> </ref> tags must be used.

Stringoptional
Typetype

The type of mountain — see List of mountain types.

Lineoptional
Ageage

Age of the rock. Geologic time scales may be useful here.

Lineoptional
Volcanic arcvolcanic_arc

If the mountain is a volcano, arc in which it is situated.

Stringoptional
Volcanic beltvolcanic_belt

If the mountain is a volcano, belt in which it is situated.

Stringoptional
Volcanic fieldvolcanic_field

If the mountain is a volcano, field in which it is situated.

Stringoptional
Volcanic arc/beltvolcanic_arc/belt

If the mountain is a volcano, arc/belt in which it is situated.

Stringoptional
Last eruptionlast_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.

Stringoptional
First ascentfirst_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.

Stringoptional
Easiest routeeasiest_route

The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades.

Stringoptional
Embeddedembedded

Another Infobox to place within the mountain infobox. The other infobox will show up at the end of the mountain infobox. The other infobox needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate.

Stringoptional
Childchild

"yes" if the mountain infobox is embedded inside another Infobox

Lineoptional
Map widthmap_size map_width

Width of the map, in pixels. Must be entered as a number. The default value is 250.

Default
250
Numberoptional
Photo sizephoto_size

Width of the photo, if less than 280px.

Numberoptional

General notes

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

Examples

A mountain infobox without a map

Mount Shasta
A large mountain rises in the distance over shrubs and trees, its peak covered with snow.
Mount Shasta and Shastina from the Butte Valley (North-East)
Highest point
Elevation14,179 feet (4,322 m)
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Geography
LocationCalifornia, USA
Parent rangeCascades
Topo mapUSGS Mount Shasta
Geology
Age of rockLess than 593 ka
Mountain typeComposite volcano
Last eruption1786
Climbing
First ascent1854 by E.D. Pearce and party
Easiest routerock/ice
{{Infobox mountain
| name          = Mount Shasta
| photo         = Mt Shasta from the northwest-750px.JPG
| photo_size    = <!-- omitted to display at user's default size -->
| photo_alt     = A large mountain rises in the distance over shrubs and trees, its peak covered with snow.
| photo_caption = Mount Shasta and Shastina from the Butte Valley (North-East)
| elevation     = {{convert|14179|ft|m|0}}
| location      = [[California]], USA
| range         = [[Cascade Range|Cascades]]
| prominence    = 
| coordinates   = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline<!--,title-->}}
| 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       = 
}}

A mountain infobox with a map

K2
A large angular white mountain, with steeply sloped sides mostly covered with snow.
K2 in Summer
Highest point
Elevation8,611 m (28,251 ft)
Prominence4,017 m (13,179 ft)
Listing2nd highest on Earth
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Geography
Script error: No such module "Location map".
LocationTaxkorgan Tajik Autonomous County, Xinjiang, China/
Gilgit-Baltistan, Pakistan
Parent rangeKarakoram
Climbing
First ascentJuly 1954 by Lacedelli and Compagnoni
Easiest routeRock, snow and ice climb
{{Infobox mountain
| name           = K2
| photo          = K2 2006b.jpg
| photo_size     = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_alt      = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| 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       = 300
| coordinates    = {{coord|35|52|57|N|76|30|48|E|type:mountain|display=inline<!--,title-->}}
}}

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.

Tracking categories

Supporting templates

The following templates are used directly from this template: