Template:Infobox mountain/doc: Difference between revisions
meta>Andy M. Wang {{high-use|20800+}} |
meta>Zyxw update documentation of photo_size |
||
Line 6: | Line 6: | ||
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, a massif, or a mountain range. Please '''remove''' any parameters that are not likely to be useful. | ||
{{Parameter names example | {{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 }} | ||
<pre style="width:15em;">{{Infobox mountain | {{Parameter names example | name=Without ''photo_size'' | photo | photo_alt | photo_caption }} | ||
<pre style="width:15em;"> | |||
{{Infobox mountain | |||
| name = | | name = | ||
| other_name = | | other_name = | ||
Line 18: | Line 21: | ||
| map = | | map = | ||
| map_alt = | | map_alt = | ||
| map_border = | | map_border = | ||
| map_caption = | | map_caption = | ||
| map_relief = | | map_relief = | ||
Line 34: | Line 37: | ||
| long_EW = | | long_EW = | ||
| x = | | x = | ||
| y = | | y = | ||
| elevation = | | elevation = | ||
| elevation_m = | | elevation_m = | ||
Line 43: | Line 46: | ||
| prominence_ft = | | prominence_ft = | ||
| prominence_ref = | | prominence_ref = | ||
| isolation = | | isolation = | ||
| isolation_km = | | isolation_km = | ||
| isolation_mi = | | isolation_mi = | ||
| isolation_ref = | | isolation_ref = | ||
| parent_peak = | | parent_peak = | ||
| listing = | | listing = | ||
| translation = | | translation = | ||
| language = | | language = | ||
| pronunciation = | | pronunciation = | ||
| range = | | range = | ||
| coordinates = | | coordinates = | ||
Line 58: | Line 61: | ||
| grid_ref_UK = | | grid_ref_UK = | ||
| grid_ref_Ireland = | | grid_ref_Ireland = | ||
| coord_type = | | coord_type = | ||
| region_code = | | region_code = | ||
| scale = | | scale = | ||
| source = | | source = | ||
| format = | | format = | ||
| display = | | display = | ||
| type = | | type = | ||
| age = | | age = | ||
| volcanic_arc = | | volcanic_arc = | ||
| volcanic_belt = | | volcanic_belt = | ||
| volcanic_field = | | volcanic_field = | ||
| volcanic_arc/belt = | | volcanic_arc/belt = | ||
| last_eruption = | | last_eruption = | ||
| first_ascent = | | first_ascent = | ||
| easiest_route = | | easiest_route = | ||
| normal_route = | | normal_route = | ||
| access = | | access = | ||
| child = | | child = | ||
| embedded = | | embedded = | ||
}}</pre> | }} | ||
</pre> | |||
==Parameters== | ==Parameters== | ||
Line 85: | Line 89: | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
!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. | ||
|- | |- | ||
!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. For example, Mount McKinley for Denali. Quotes can be used as normal to italicize or bold the text if desired. | ||
|- | |- | ||
!native_name | ! native_name | ||
|Name in local language. If more than one, separate using {{tl|Plain list}} | | Name in local language. If more than one, separate using {{tl|Plain list}} | ||
|- | |- | ||
!native_name_lang | ! native_name_lang | ||
|ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead | | ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead | ||
|- | |- | ||
!pronunciation | ! pronunciation | ||
| Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{tl|IPA-en}} for English.) | | Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{tl|IPA-en}} for English.) | ||
|- | |- | ||
!listing | ! listing | ||
| Name of a relevant list of mountains that the peak belongs to. See [[List of mountain lists]] for examples. | | Name of a relevant list of mountains that the peak belongs to. See [[List of mountain lists]] for examples. | ||
|- | |- | ||
!range | ! 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]]. | | [[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]]. | ||
|} | |} | ||
Line 110: | Line 114: | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
!photo | ! 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 [[Wikimedia Commons|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. | | 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 280px wide, you can use the '''photo_size''' parameter to indicate its size. | ||
|- | |- | ||
!photo_size | ! photo_size | ||
| | | The image width in pixels. If specified, the maximum width is 280px. This parameter is optional, the default is ''frameless'' with ''upright=1.25'' which displays the image at approximately 125% of the user's default. For the default size of 220px (logged in users can change it at [[Special:Preferences]]), the image would display at a width of {{#expr:220*1.25 round -1}}px (220 multiplied by 1.25 then rounded to nearest 10). See also: [[Module:InfoboxImage]], [[WP:AUTOSIZE]], [[WP:EIS]], [[WP:IMGSIZE]], and [[MOS:IMGSIZE]]. | ||
|- | |- | ||
!photo_alt | ! photo_alt | ||
| Alt text for the photo, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images]]''. | | Alt text for the photo, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images]]''. | ||
|- | |- | ||
!photo_caption | ! photo_caption | ||
| Description of the photograph which is displayed below. Include the month and year if known. | | Description of the photograph which is displayed below. Include the month and year if known. | ||
|- | |- | ||
!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 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_alt | ! map_alt | ||
| Alt text for the map, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images#Maps and diagrams|Alt text for maps]]''. | | Alt text for the map, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images#Maps and diagrams|Alt text for maps]]''. | ||
|- | |- | ||
!map_caption | ! map_caption | ||
| Fill out if a map caption is desired. If not specified, '''location''' will be used. | | Fill out if a map caption is desired. If not specified, '''location''' will be used. | ||
|- | |- | ||
!map_relief | ! 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 {{para|map_relief|0}}. | | 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 {{para|map_relief|0}}. | ||
|- | |- | ||
!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 | ! 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. | | 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 144: | Line 148: | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
!highest | ! highest | ||
|Name of highest peak in the range | | Name of highest peak in the range | ||
|- | |- | ||
!highest_location | ! highest_location | ||
|location of highest peak, e.g., country or province | | location of highest peak, 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 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. | ||
|- | |- | ||
!prominence_m | ! prominence_m | ||
|The clean [[topographic prominence]] of the highest point. Uses same rounding as {{tl|convert}}. | | The clean [[topographic prominence]] of the highest point. Uses same rounding as {{tl|convert}}. | ||
|- | |- | ||
!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 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 range, in square kilometers, as a number. Will automatically convert to square miles. Uses same rounding as {{tl|convert}} | ||
|- | |- | ||
! length_orientation | ! length_orientation | ||
Line 170: | Line 174: | ||
| Width orientation such as E-W for East to West | | Width orientation such as E-W for East to West | ||
|- | |- | ||
!elevation_ft | ! elevation_ft | ||
|rowspan=5|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 {{tl|convert}}. | | rowspan=5 | 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 {{tl|convert}}. | ||
|- | |- | ||
!prominence_ft | ! prominence_ft | ||
|- | |- | ||
!length_mi | ! length_mi | ||
|- | |- | ||
!width_mi | ! width_mi | ||
|- | |- | ||
!area_mi2 | ! area_mi2 | ||
|- | |- | ||
!elevation | ! elevation | ||
|rowspan=5|Free form field for expressing dimension, no automatic unit conversion. To be used instead of parameters like '''elevation_m''' or '''elevation_ft''' | | rowspan=5 | Free form field for expressing dimension, no automatic unit conversion. To be used instead of parameters like '''elevation_m''' or '''elevation_ft''' | ||
|- | |- | ||
!prominence | ! prominence | ||
|- | |- | ||
!length | ! length | ||
|- | |- | ||
!width | ! width | ||
|- | |- | ||
!area | ! area | ||
|- | |- | ||
!elevation_system | ! elevation_system | ||
|The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN | | The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN | ||
|- | |- | ||
!elevation_note | ! elevation_note | ||
|rowspan=5|Note field after dimensional quantity, typically used for inline citation that supports the quantity | | rowspan=5 | Note field after dimensional quantity, typically used for inline citation that supports the quantity | ||
|- | |- | ||
!prominence_note | ! prominence_note | ||
|- | |- | ||
!length_note | ! length_note | ||
|- | |- | ||
!width_note | ! width_note | ||
|- | |- | ||
!area_note | ! area_note | ||
|} | |} | ||
{{clearright}} | {{clearright}} | ||
Line 212: | Line 216: | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
!lat_d | ! lat_d | ||
|rowspan=8|Coordinates for highest peak in range. Will appear under "highest point" section as a link. | | rowspan=8 | Coordinates for highest peak in range. Will appear under "highest point" section as a link. | ||
|- | |- | ||
!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 | ||
|- | |- | ||
!range_lat_d | ! 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 | | 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_m | ||
|- | |- | ||
!range_lat_s | ! range_lat_s | ||
|- | |- | ||
!range_lat_NS | ! range_lat_NS | ||
|- | |- | ||
!range_long_d | ! range_long_d | ||
|- | |- | ||
!range_long_m | ! range_long_m | ||
|- | |- | ||
!range_long_s | ! range_long_s | ||
|- | |- | ||
!range_long_EW | ! range_long_EW | ||
|- | |- | ||
!coordinates | ! coordinates | ||
|Free-form field for entering coordinates. Will appear as "Range coordinates" in Geography section | | 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 | | Add a note after the Coordinates link | ||
|- | |- | ||
!range_coordinates_note | ! range_coordinates_note | ||
|Add a note after the Range coordinates link | | Add a note after the Range coordinates link | ||
|- | |- | ||
!grid_ref_UK | ! 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. | | 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 | ! 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. | | 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 | ! region_code | ||
| Either a two character [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code. See [[WP:COORD REGION|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 | ! source | ||
| The source of the coordinate data. See [[WP:COORD SOURCE|source]]. | | The source of the coordinate data. See [[WP:COORD SOURCE|source]]. | ||
|} | |} | ||
Line 271: | Line 275: | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
!location | ! location | ||
|Free-form field describing location of range, similar to {{tl|Infobox mountain}} | | Free-form field describing location of range, similar to {{tl|Infobox mountain}} | ||
|- | |- | ||
!country,country1,...,country19 | ! 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. | | 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 | ! country_type | ||
|Alternative label for country, e.g., use Continent for ranges in Antarctica | | Alternative label for country, e.g., use Continent for ranges in Antarctica | ||
|- | |- | ||
!state,state1,...,state19 | ! state,state1,...,state19 | ||
|States that range spans. For provinces, set state_type to "Province" | | States that range spans. For provinces, set state_type to "Province" | ||
|- | |- | ||
!state_type | ! state_type | ||
|Alternative label for state, e.g. Province | | Alternative label for state, e.g. Province | ||
|- | |- | ||
!region,region1,...,region23 | ! region,region1,...,region23 | ||
|Sub-national regions that range spans. | | Sub-national regions that range spans. | ||
|- | |- | ||
!region_type | ! region_type | ||
|Label for sub-national regions, overriding default "State/Province" | | Label for sub-national regions, overriding default "State/Province" | ||
|- | |- | ||
!district,district1,...,district19 | ! district,district1,...,district19 | ||
|Sub-regional areas that range spans, e.g., counties in the United States | | Sub-regional areas that range spans, e.g., counties in the United States | ||
|- | |- | ||
!district_type | ! district_type | ||
|Label for sub-regional areas, overriding default "District" | | Label for sub-regional areas, overriding default "District" | ||
|- | |- | ||
!city,city1,...,city19 | ! city,city1,...,city19 | ||
|Settlements within the mountain range. | | Settlements within the mountain range. | ||
|- | |- | ||
!city_type | ! city_type | ||
|Label for settlements, overriding default "Settlement" | | Label for settlements, overriding default "Settlement" | ||
|- | |- | ||
!parent | ! parent | ||
|Parent mountain range | | Parent mountain range | ||
|- | |- | ||
!border,border1,...,border3 | ! border,border1,...,border3 | ||
|Other mountain ranges that border this one | | Other mountain ranges that border this one | ||
|- | |- | ||
!biome | ! biome | ||
|Biome(s) for range | | Biome(s) for range | ||
|- | |- | ||
!topo_maker,topo_map | ! topo_maker,topo_map | ||
|The publisher and name (respectively) of the topographic map that contains the range | | The publisher and name (respectively) of the topographic map that contains the range | ||
|} | |} | ||
===Geological parameters=== | ===Geological parameters=== | ||
{| class="wikitable" | {| class="wikitable" | ||
!type | ! type | ||
| The type of mountain | | The type of mountain — see [[List of mountain types]]. | ||
|- | |- | ||
!age | ! age | ||
| Age of the rock. [[Geologic time scale]]s may be useful here. | | Age of the rock. [[Geologic time scale]]s may be useful here. | ||
|- | |- | ||
!volcanic_arc<br />volcanic_belt<br />volcanic_field<br />volcanic_arc/belt<br /> | ! 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. | | 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. | ||
|- | |- | ||
!last_eruption | ! last_eruption | ||
| The date of the last eruption if the mountain is of volcanic origin. Only use ''Unknown'' if a verifiable source such as the [http://www.volcano.si.edu/ Global Volcanism Program] states it as such. | | 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. | ||
|} | |} | ||
Line 335: | Line 339: | ||
{| class="wikitable | {| class="wikitable | ||
|- | |- | ||
!first_ascent | ! first_ascent | ||
| Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added. | | Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added. | ||
|- | |- | ||
!easiest_route | ! easiest_route | ||
| The easiest route to the summit. Some possibilities include [[Hiking|Hike]], [[Scrambling|Scramble]] or any of the [[Yosemite Decimal System|YDS]] grades. | | The easiest route to the summit. Some possibilities include [[Hiking|Hike]], [[Scrambling|Scramble]] or any of the [[Yosemite Decimal System|YDS]] grades. | ||
|- | |- | ||
!child | ! child | ||
| "yes" if the mountain infobox is embedded inside another Infobox | | "yes" if the mountain infobox is embedded inside another Infobox | ||
|- | |- | ||
!embedded | ! 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. | | 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. | ||
|} | |} | ||
<!--- TODO: update templatedata !! ! ---> | |||
<!--- TODO: update templatedata!!! ---> | |||
{{cot|Extended parameter listing}} | {{cot|Extended parameter listing}} | ||
<templatedata> | <templatedata> | ||
Line 747: | Line 750: | ||
{{Infobox mountain | {{Infobox mountain | ||
| name = Mount Shasta | | name = Mount Shasta | ||
| photo = | | 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_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) | | photo_caption = Mount Shasta and Shastina from the Butte Valley (North-East) | ||
Line 767: | Line 771: | ||
{{Infobox mountain | {{Infobox mountain | ||
| name = Mount Shasta | | name = Mount Shasta | ||
| photo = | | 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_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) | | photo_caption = Mount Shasta and Shastina from the Butte Valley (North-East) | ||
Line 789: | Line 794: | ||
| 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_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 | ||
Line 796: | Line 801: | ||
| 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 = | ||
Line 815: | Line 820: | ||
| 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_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 | ||
Line 832: | Line 837: | ||
| map_caption = Location on Pakistan/China border | | map_caption = Location on Pakistan/China border | ||
| map_size = 200 | | map_size = 200 | ||
| coordinates_ref = | | coordinates_ref = | ||
| lat_d = 35 | lat_m = 52 | lat_s = 57 | lat_NS = N | | lat_d = 35 | lat_m = 52 | lat_s = 57 | lat_NS = N | ||
| long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E | | long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E |
Revision as of 08:21, 14 July 2016
This is a documentation subpage for Template:Infobox mountain. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 28,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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.
{{{name}}} | |||
---|---|---|---|
{{{other_name}}} | |||
[[File:{{{photo}}}|{{{photo_size}}}|alt={{{photo_alt}}}|upright=1]] | |||
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 | |||
Native name | [{{{native_name}}}] Error: {{Native name}}: unrecognized language tag: {{{native_name_lang}}} (help) (language?) | ||
English translation | {{{translation}}} | ||
Pronunciation | {{{pronunciation}}} | ||
Geography | |||
Location | {{{location}}} | ||
Country | {{{country}}} | ||
State | {{{state}}} | ||
Region | {{{region}}} | ||
District | {{{district}}} | ||
Parent range | {{{range}}} | ||
OS grid |
| ||
OSI/OSNI grid |
| ||
Topo map | {{{topo}}} | ||
Geology | |||
Age of rock | {{{age}}} | ||
Mountain type | {{{type}}} | ||
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]] |
{{Infobox mountain | name = | other_name = | photo = | native_name = | native_name_lang = | photo_size = | photo_alt = | photo_caption = | map = | map_alt = | map_border = | map_caption = | map_relief = | map_size = | location = | label = | label_position = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | x = | y = | elevation = | elevation_m = | elevation_ft = | elevation_ref = | prominence = | prominence_m = | prominence_ft = | prominence_ref = | isolation = | isolation_km = | isolation_mi = | isolation_ref = | parent_peak = | listing = | translation = | language = | pronunciation = | range = | coordinates = | coordinates_ref = | topo = | grid_ref_UK = | grid_ref_Ireland = | coord_type = | region_code = | scale = | source = | format = | display = | type = | age = | 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. |
---|---|
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. |
native_name | Name in local language. If more than one, separate using {{Plain list}} |
native_name_lang | ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead |
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. If the only image available is less than 280px wide, you can use the photo_size parameter to indicate its size. |
---|---|
photo_size | The image width in pixels. If specified, the maximum width is 280px. This parameter is optional, the default is frameless with upright=1.25 which displays the image at approximately 125% of the user's default. For the default size of 220px (logged in users can change it at Special:Preferences), the image would display at a width of 280px (220 multiplied by 1.25 then rounded to nearest 10). 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 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_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. |
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. |
Dimensional parameters
highest | Name of highest peak in the range |
---|---|
highest_location | location of highest peak, e.g., country or province |
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 {{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 range, in kilometers, as a number. Will automatically convert to miles. Uses same rounding as {{convert}} |
width_km | |
area_km2 | Area of 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 three ways to enter the location of a mountain range, which controls the content of two different optional fields:
lat_d | Coordinates for highest peak in range. Will appear under "highest point" section as a link. |
---|---|
lat_m | |
lat_s | |
lat_NS | |
long_d | |
long_m | |
long_s | |
long_EW | |
range_lat_d | 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 | Add a note after the Coordinates link |
range_coordinates_note | Add a note after the Range coordinates link |
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. |
region_code | 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. |
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 | Other mountain ranges that border this one |
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. |
---|---|
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. |
Extended parameter listing
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Used to create a mountain infobox, based on the basic infobox format.
|
General notes
Blank starter templates for various areas of the world (just copy and paste):
Examples
A mountain infobox without a map
Mount Shasta | |
---|---|
Highest point | |
Elevation | 14,179 feet (4,322 m) |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Geography | |
Location | California, USA |
Parent range | Cascades |
Topo map | USGS Mount Shasta |
Geology | |
Age of rock | Less than 593 ka |
Mountain type | Composite volcano |
Last eruption | 1786 |
Climbing | |
First ascent | 1854 by E.D. Pearce and party |
Easiest route | rock/ice |
{{Infobox mountain | name = Mount Shasta | photo = Mt Shasta from the northwest-750px.JPG | photo_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 | |
---|---|
Highest point | |
Elevation | 8,611 m (28,251 ft) |
Prominence | 4,017 m (13,179 ft) |
Listing | 2nd highest on Earth |
Geography | |
Script error: No such module "Location map".
| |
Location | Taxkorgan Tajik Autonomous County, Xinjiang, China/ Gilgit-Baltistan, Pakistan |
Parent range | Karakoram |
Climbing | |
First ascent | July 1954 by Lacedelli and Compagnoni |
Easiest route | Rock, 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 = 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 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.
See also
- Hidden tracking/maintenance categories
- Category:Articles using Template:Infobox mountain with region
- Category:Mountain articles requiring maintenance
- Category:Pages using deprecated coordinates format