Template:Infobox mountain/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
m cat sorting
meta>Rehman
consolidate - more updates to follow
Line 1: Line 1:
{{Under construction|placedby=[[User:Rehman]]|nosection=true|notready=true}}
{{Documentation subpage}}
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{High-use|22967}}
{{High-use|22967}}
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
{{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}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:Coordinates|Module:String}}


==Usage==
=== Wikidata-enabled ===
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.
Simply add <code><nowiki>{{Infobox mountain}}</nowiki></code> to the top of an article, and the data will be automatically included from [[Wikidata]]. If necessary, these values can be overridden by passing local values to the relevant parameters in the article:
<pre style="overflow:auto">
{{Infobox mountain
| name = [local value]
}}
</pre>
To add data to Wikidata, please see the Parameters section below.


{{Clear}}
=== Standard usage ===
{{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 <!-- | 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 }}
The following parameters can be used to create an infobox for a mountain, hill, massif, or a mountain or hill range. Please remove parameters that are unlikely to be useful.


<pre style="width:30em;">
<pre style="width:30em;">
Line 68: Line 79:
</pre>
</pre>


==Parameters==
== 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.
{| class="mw-datatable"
 
===Naming and hierarchy parameters===
{| class=wikitable
|-
! 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 {{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 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.
|-
! 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 {{tl|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===
{| class=wikitable
|-
! 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.
|-
! 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 {{#expr:220*1.25 round -1}}px; for logged-in users who have changed the setting at [[Special:Preferences]] the displayed image could range from {{#expr:120*1.25 round -1}}px to {{#expr:400*1.25 round -1}}px). See also: [[Module:InfoboxImage]], [[WP:AUTOSIZE]], [[WP:EIS]], [[WP:IMGSIZE]], and [[MOS:IMGSIZE]].
|-
|-
! photo_alt
! align="center" | Parameter !! align="center" | Default value !! align="center" | Description
| Alt text for the photo, primarily for visually impaired readers. See ''[[Wikipedia:Alternative text for images]]''.
|-
|-
! photo_caption
| '''name''' || Wikidata label in English || Name of the mountain, peak or hill.  
| Description of the photograph which is displayed below. Include the month and year if known.
|-
|-
! map
| '''other_name''' || &nbsp; || 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.
| 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
| '''photo''' || Image on Wikidata || Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit.
| The file name of a static map image to be displayed.  To use a [[Template:location map|location map]], use {{para|map}}.
|-
|-
! map_alt
| '''photo_size''' || 300px || The image width in pixels.  
| 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
| '''photo_alt''' || <code>photo_caption</code> || [[Wikipedia:Alternative text for images|Alt text]] for the photo.
| Fill out if a map caption is desired. If not specified, '''location''' will be used.
|-
|-
! map_relief
| '''photo_caption''' || {{Property|P2096}} stated on image || Description of the photograph.
| 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
| <maps> || ''TBA'' || ''TBA''
| Must be entered as only a number—'''no need for px'''.  The default value and maximum is 272.
|}
 
===Dimensional parameters===
{| class=wikitable
|-
|-
! highest
| '''highest''' || {{Property|P2044}} with qualifier {{Property|P2561}} || Name of highest summit of a single mountain or peak in the range
| Name of highest summit of a single mountain or peak in the range
|-
|-
! highest_location
| '''highest_location''' || {{Property|P2044}} with qualifier {{Property|P276}} || Location of highest summit
| location of highest point, e.g., country or province
|-
|-
! elevation_m
| '''elevation''' || {{Property|P2044}} || Summit elevation. You may also use <code>elevation_m</code> or <code>elevation_ft</code> for auto conversion, and <code>elevation_ref</code> to add a suffix note.
| 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.
|-
| '''elevation_system''' || {{Property|P2044}} with qualifier {{Property|P459}} || The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
|-
|-
! prominence_m
| '''prominence''' || {{Property|P2660}} || [[Topographic prominence]]. You may also use <code>prominence_m</code> or <code>prominence_ft</code> for auto conversion, and <code>prominence_ref</code> to add a suffix note.
| The clean [[topographic prominence]] of the highest point. Uses same rounding as {{tl|convert}}.
|-
|-
! length_km
| '''isolation''' || {{Property|P2659}} || You may also use <code>isolation_m</code> or <code>isolation_ft</code> for auto conversion, and <code>isolation_ref</code> to add a suffix note.
| 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
| '''isolation_parent''' || &nbsp; || &nbsp;
|-
|-
! area_km2
| '''parent_peak''' || {{Property|P3137}} || &nbsp;
| 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
| '''listing''' || {{Property|P361}} || Name of a relevant list of mountains that the peak belongs to. See [[List of mountain lists]] for examples.
| Length orientation such as N-S for North to South
|-
|-
! width_orientation
| '''coordinates''' || {{Property|P625}} || [[Geographic coordinate system|Coordinates]]. You may also use <code>coordinates_ref</code> to add a suffix note.
| Width orientation such as E-W for East to West
|-
|-
! elevation_ft
| '''length''' || {{Property|P2043}} || You may also use <code>length_km</code> or <code>length_mi</code> for auto conversion, and <code>length_note</code> to add a suffix note.
| 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
| '''length_orientation''' || {{Property|P2043}} with qualifier {{Property|P7469}} as: <br/>{{Q|Q34027}} (for EW) or {{Q|Q36477}} (for NS) || Length orientation.
|-
|-
! length_mi
| '''width''' || {{Property|P2049}} || You may also use <code>width_km</code> or <code>width_mi</code> for auto conversion, and <code>width_note</code> to add a suffix note.
|-
|-
! width_mi
| '''width_orientation''' || {{Property|P2049}} with qualifier {{Property|P7469}} as: <br/>{{Q|Q34027}} (for EW) or {{Q|Q36477}} (for NS) || Width orientation
|-
|-
! area_mi2
| '''height''' || {{Property|P2046}} || You may also use <code>height_km2</code> or <code>height_mi2</code> for auto conversion, and <code>height_note</code> to add a suffix note.
|-
|-
! elevation
| '''volume''' || {{Property|P2234}} || You may also use <code>volume_km3</code> or <code>volume_mi3</code> for auto conversion, and <code>volume_note</code> to add a suffix note.
| 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
| '''etymology''' || {{Property|P138}} || Origin of name
|-
|-
! length
| '''nickname''' || {{Property|P1449}} || &nbsp;
|-
|-
! width
| '''native_name''' || {{Property|P1559}} || Name in local language. If more than one, separate using {{tl|Plain list}} and {{tl|native_name}}. ISO 639-2 code to be added to <code>native_name_lang</code>.
|-
|-
! area
| '''translation''' || {{Property|P1559}} with qualifier {{Property|P2441}} || Translation of name to English (if name is not an English name)
|-
|-
! elevation_system
| '''pronunciation''' || {{Property|P898}} || Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{tl|IPA-en}} for English.)
| The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
|-
|-
! elevation_note
| '''location''' || &nbsp; || Free-form field describing location of range, similar to {{tl|Infobox mountain}}.
| rowspan=5 | Note field after dimensional quantity, typically used for inline citation that supports the quantity
|-
|-
! prominence_note
| '''country''' || {{Property|P17}} || For multiple countries use <code>country1</code> <code>country18</code>. Use <code>country_type</code> for custom label
|-
|-
! length_note
| '''state''' || &nbsp; || For multiple countries use <code>state1</code> <code>state18</code>. Use <code>state_type</code> for custom label
|-
|-
! width_note
| '''region''' || {{Property|P131}} || For multiple countries use <code>state1</code> <code>state18</code>. Use <code>region_type</code> for custom label
|-
! area_note
|}
{{clear right}}
 
===Coordinate parameters===
There are four ways to enter the location of a mountain or a range:
{| class=wikitable
|-
|-
! coordinates
| '''district''' || &nbsp; || For multiple countries use <code>district1</code> <code>district18</code>. Use <code>district_type</code> for custom label
| 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.
|-
|-
! range_coordinates
| '''district''' || &nbsp; || For multiple countries use <code>district1</code> <code>district18</code>. Use <code>district_type</code> for custom label
| 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.
|-
|-
! grid_ref_UK
| '''range_coordinates''' || &nbsp; || Add <code>range_coordinates_note</code> to add a suffix note.
| 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.
|-
|-
! grid_ref_Ireland
| '''range''' || {{Property|P4552}} || [[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]].
| 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.
|}
References (or other notes) for the coordinates can be added via notes parameters:
{| class=wikitable
|-
|-
! coordinates_note
| '''border''' || {{Property|P47}} || For multiple borders use <code>border1</code> <code>border8</code>. Use <code>district_type</code> for custom label
| Reference or other notes displayed on the same line as the {{para|coordinates}} data
|-
|-
! range_coordinates_note
| '''grid_ref_UK''' || {{Property|P613}} || If the mountain is in [[Great Britain]], the [[British national grid reference system|British grid reference]]. Use <code>grid_ref_UK_note</code> to add a suffix note.
| Reference or other notes displayed on the same line as the {{para|range_coordinates}} data
|-
|-
! grid_ref_UK_note
| '''grid_ref_Ireland''' || {{Property|P4091}} || If the mountain is in [[Ireland]] (whether [[Northern Ireland]] or the [[Republic of Ireland|Republic]]), the [[Irish national grid reference system|Irish grid reference]]. Use <code>grid_ref_Ireland_note</code> to add a suffix note.
| Reference or other notes displayed on the same line as the {{para|grid_ref_UK}} data
|-
|-
! grid_ref_Ireland_note
| '''topo_maker''' || &nbsp; || The publisher of the topographic map that contains the range
| Reference or other notes displayed on the same line as the {{para|grid_ref_Ireland}} data
|}
 
===Geographical parameters===
{| class=wikitable
|-
|-
! location
| '''topo''' || &nbsp; || The name of the topographic map that contains the range
| Free-form field describing location of range, similar to {{tl|Infobox mountain}}
|-
|-
! country,country1,...,country19
| '''topo_map''' || &nbsp; || &nbsp;
| 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
| '''biome''' || &nbsp; || Biome(s) for range
| Alternative label for country, e.g., use Continent for ranges in Antarctica
|-
|-
! state,state1,...,state19
| '''formed_by''' || &nbsp; || &nbsp;
| States that range spans. For provinces, set state_type to "Province"
|-
|-
! state_type
| '''orogeny''' || &nbsp; || &nbsp;
| Alternative label for state, e.g. Province
|-
|-
! region,region1,...,region23
|  '''age''' || &nbsp; || Age of the rock. [[Geologic time scale]]s may be useful here. Use <code>period</code>, <code>period1</code> through <code>period5</code> for multiple values.
| Sub-national regions that range spans.
|-
|-
! region_type
| '''type''' || &nbsp; || &nbsp;
| Label for sub-national regions, overriding default "State/Province"
|-
|-
! district,district1,...,district19
|  '''rock''' || &nbsp; || Type of the rock mountain is made from. Use <code>geology</code>, <code>geology1</code> through <code>geology5</code>, for multiple types.
| Sub-regional areas that range spans, e.g., counties in the United States
|-
|-
! district_type
| '''volcanic_arc/belt''' || &nbsp; || If the mountain is a volcano. Alternatives: <code>volcanic_arc</code>, <code>volcanic_belt</code>, <code>volcanic_field</code>
| Label for sub-regional areas, overriding default "District"
|-
|-
! city,city1,...,city19
| '''last_eruption''' || &nbsp; || The date of the last eruption if the mountain is of volcanic origin.
| Settlements within the mountain range.
|-
|-
! city_type
| '''first_ascent''' || &nbsp; || 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.
| Label for settlements, overriding default "Settlement"
|-
|-
! parent
| '''easiest_route''' || &nbsp; || The easiest route to the summit. Some possibilities include [[Hiking|Hike]], [[Scrambling|Scramble]] or any of the [[Yosemite Decimal System|YDS]] grades.
| Parent mountain range
|-
|-
! border,border1,...,border3
| '''normal_route''' || &nbsp; || &nbsp;
| Other mountain ranges that border this one
|-
|-
! biome
| '''access''' || &nbsp; || &nbsp;
| Biome(s) for range
|-
|-
! topo_maker,topo_map
| The publisher and name (respectively) of the topographic map that contains the range
|}
|}


===Geological parameters===
==== Advanced uses ====
{| class="wikitable"
{| class="mw-datatable"
! type
| The type of mountain — see [[List of mountain types]].
|-
|-
! geology<br />geology1, etc.
! align="center" | Parameter !! align="center" | Default value !! align="center" | Description
| Type of the rock mountain is made from
|-
|-
! age
| '''child''' || &nbsp; || &nbsp;
| 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 />
| '''embed''' || &nbsp; || &nbsp;
| 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
| 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.
|}
 
===Miscellaneous parameters===
{| class="wikitable
|-
|-
! first_ascent
| '''embedded''' || &nbsp; || &nbsp;
| 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
| '''misc''' || &nbsp; || &nbsp;
| The easiest route to the summit. Some possibilities include [[Hiking|Hike]], [[Scrambling|Scramble]] or any of the [[Yosemite Decimal System|YDS]] grades.
|-
|-
! child
| '''module''' || &nbsp; || &nbsp;
| "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.
|}
|}


<!--- TODO: update templatedata !! ! --->
== Template Data ==
 
== TemplateData ==
{{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
{{show
| Click the [show] link to the right to display the [[Wikipedia:TemplateData|TemplateData]].
|
{{TemplateData header|nolink=1}}
<templatedata>
<templatedata>
{
{
Line 666: Line 557:
}
}
}
}
</templatedata>
</templatedata>}}
{{Collapse bottom}}


==General notes==
== Sample Wikidata items ==
Blank starter templates for various areas of the world (just copy and paste):
{{Expand list|date=March 2020}}
 
:* [[Wikipedia:WikiProject Mountains/infoboxes#Alps|Infobox for mountains in the Alps]]
:* [[Wikipedia:WikiProject Mountains/infoboxes#Canada|Infobox for mountains in Canada]]
:* [[Wikipedia:WikiProject Mountains/infoboxes#Himalaya|Infobox for mountains in the Himalaya]]
:* [[Wikipedia:WikiProject Mountains/infoboxes#United Kingdom|Infobox for mountains in the United Kingdom]]
:* [[Wikipedia:WikiProject Mountains/infoboxes#United States|Infobox for mountains in the United States]]


==Examples==
==Examples==
Line 772: Line 656:
</pre>
</pre>
{{clear}}
{{clear}}
== Microformat ==
{{UF-hcard-geo}}


== Tracking categories ==
== Tracking categories ==
Line 780: Line 661:
* {{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}}.
* {{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 ==
== Microformat ==
The following templates are used directly from this template:
{{UF-hcard-geo}}
{{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}}
}}


<includeonly>
<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Mountain templates]]
[[Category:Mountain templates]]
[[Category:WikiProject Mountains templates]]
[[Category:WikiProject Mountains templates]]

Revision as of 03:14, 30 March 2020

Wikidata-enabled

Simply add {{Infobox mountain}} to the top of an article, and the data will be automatically included from Wikidata. If necessary, these values can be overridden by passing local values to the relevant parameters in the article:

{{Infobox mountain
| name = [local value]
}}

To add data to Wikidata, please see the Parameters section below.

Standard usage

{{{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}}}

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

{{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

Parameter Default value Description
name Wikidata label in English Name of the mountain, peak or hill.
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.
photo Image on Wikidata Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit.
photo_size 300px The image width in pixels.
photo_alt photo_caption Alt text for the photo.
photo_caption (P2096) stated on image Description of the photograph.
<maps> TBA TBA
highest (P2044) with qualifier (P2561) Name of highest summit of a single mountain or peak in the range
highest_location (P2044) with qualifier (P276) Location of highest summit
elevation (P2044) Summit elevation. You may also use elevation_m or elevation_ft for auto conversion, and elevation_ref to add a suffix note.
elevation_system (P2044) with qualifier (P459) The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
prominence (P2660) Topographic prominence. You may also use prominence_m or prominence_ft for auto conversion, and prominence_ref to add a suffix note.
isolation (P2659) You may also use isolation_m or isolation_ft for auto conversion, and isolation_ref to add a suffix note.
isolation_parent    
parent_peak (P3137)  
listing (P361) Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
coordinates (P625) Coordinates. You may also use coordinates_ref to add a suffix note.
length (P2043) You may also use length_km or length_mi for auto conversion, and length_note to add a suffix note.
length_orientation (P2043) with qualifier (P7469) as:
(Q34027) (for EW) or (Q36477) (for NS)
Length orientation.
width (P2049) You may also use width_km or width_mi for auto conversion, and width_note to add a suffix note.
width_orientation (P2049) with qualifier (P7469) as:
(Q34027) (for EW) or (Q36477) (for NS)
Width orientation
height (P2046) You may also use height_km2 or height_mi2 for auto conversion, and height_note to add a suffix note.
volume (P2234) You may also use volume_km3 or volume_mi3 for auto conversion, and volume_note to add a suffix note.
etymology (P138) Origin of name
nickname (P1449)  
native_name (P1559) Name in local language. If more than one, separate using {{Plain list}} and {{native_name}}. ISO 639-2 code to be added to native_name_lang.
translation (P1559) with qualifier (P2441) Translation of name to English (if name is not an English name)
pronunciation (P898) Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)
location   Free-form field describing location of range, similar to {{Infobox mountain}}.
country (P17) For multiple countries use country1 country18. Use country_type for custom label
state   For multiple countries use state1 state18. Use state_type for custom label
region (P131) For multiple countries use state1 state18. Use region_type for custom label
district   For multiple countries use district1 district18. Use district_type for custom label
district   For multiple countries use district1 district18. Use district_type for custom label
range_coordinates   Add range_coordinates_note to add a suffix note.
range (P4552) 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.
border (P47) For multiple borders use border1 border8. Use district_type for custom label
grid_ref_UK (P613) If the mountain is in Great Britain, the British grid reference. Use grid_ref_UK_note to add a suffix note.
grid_ref_Ireland (P4091) If the mountain is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. Use grid_ref_Ireland_note to add a suffix note.
topo_maker   The publisher of the topographic map that contains the range
topo   The name of the topographic map that contains the range
topo_map    
biome   Biome(s) for range
formed_by    
orogeny    
age   Age of the rock. Geologic time scales may be useful here. Use period, period1 through period5 for multiple values.
type    
rock   Type of the rock mountain is made from. Use geology, geology1 through geology5, for multiple types.
volcanic_arc/belt   If the mountain is a volcano. Alternatives: volcanic_arc, volcanic_belt, volcanic_field
last_eruption   The date of the last eruption if the mountain is of volcanic origin.
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.
normal_route    
access    

Advanced uses

Parameter Default value Description
child    
embed    
embedded    
misc    
module    

Template Data

TemplateData documentation used by VisualEditor and other tools

Template:Show

Sample Wikidata items

Template:Expand list

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-->}}
}}

Tracking categories

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.