Edge Rewrite
Jump to content

Template:Infobox mountain/doc

From Wikipedia, the free encyclopedia

Standard usage

[edit]
{{{name}}}
{{{other_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]]
{{{image_caption}}}
Highest point
Peak{{{highest}}}, {{{highest_location}}}
Elevation{{{elevation}}}{{{elevation_ref}}}
{{{elevation_system}}}
Prominence{{{prominence}}}{{{prominence_ref}}}
Parent peak{{{parent_peak}}}
Isolation{{{isolation}}}
to {{{isolation_parent}}}{{{isolation_ref}}}
Listing{{{listing}}}
Coordinates{{{coordinates}}}{{{coordinates_ref}}}
Dimensions
Length{{{length}}} {{{length_orientation}}}{{{length_ref}}}
Width{{{width}}} {{{width_orientation}}}{{{width_ref}}}
Area{{{area}}}{{{area_ref}}}
Volume{{{volume}}}{{{volume_ref}}}
Naming
Etymology{{{etymology}}}
Nickname{{{nickname}}}
Native name{{{native_name}}} Error {{native name checker}}: parameter value is malformed (help)
English translation
{{{translation}}}
Pronunciation{{{pronunciation}}}
Defining authority
{{{authority}}}
Geography
Location{{{location}}}
{{{country_type}}}
{{{country}}}
{{{state_type}}}
{{{state}}}
{{{region_type}}}
{{{region}}}
{{{district_type}}}
{{{district}}}
{{{part_type}}}
{{{part}}}
{{{settlement_type}}}
{{{settlement}}}
Range coordinates
{{{range_coordinates}}}{{{range_coordinates_ref}}}
Parent range{{{range}}}
Borders on{{{borders_on}}}
OS grid{{{grid_ref_UK}}}{{{grid_ref_UK_ref}}}
OSI/OSNI grid{{{grid_ref_Ireland}}}{{{grid_ref_Ireland_ref}}}
Topo map{{{topo_maker}}} {{{topo_map}}}
Biome{{{biome}}}
Geology
Formed by{{{formed_by}}}
Orogeny{{{orogeny}}}
Rock age{{{age}}}
{{{type}}}
Rock type{{{geology}}}
Volcanic zone{{{volcanic_zone}}}
Volcanic arc{{{volcanic_arc}}}
Volcanic belt{{{volcanic_belt}}}
Volcanic field{{{volcanic_field}}}
Last eruption{{{last_eruption}}}
Climbing
First ascent{{{first_ascent}}}
Easiest route{{{easiest_route}}}
Normal route{{{normal_route}}}
Access{{{access}}}
{{{embedded}}}
{{{module}}}
{{Infobox mountain
| name                  = 
| other_name            = 
| image                 = 
| image_size            = 
| image_upright         =
| image_alt             = 
| image_caption         = 
| map                   = 
<!----------------------- HIGHEST POINT -->
| highest               = 
| highest_location      = 
| elevation_m           = 
| elevation_ft          = 
| elevation_ref         = 
| elevation_system      = 
| prominence_m          = 
| prominence_ft         = 
| prominence_ref        = 
| parent_peak           = 
| isolation_km          = 
| isolation_mi          = 
| isolation_parent      = 
| isolation_ref         = 
| listing               = 
| coordinates           = 
| coordinates_ref       = 
<!----------------------- DIMENSIONS -->
| length_km             = 
| length_mi             = 
| length_orientation    = 
| length_ref            = 
| width_km              = 
| width_mi              = 
| width_orientation     = 
| width_ref             = 
| area_km2              = 
| area_mi2              = 
| area_ref              = 
| volume_km3            = 
| volume_mi3            = 
| volume_ref            = 
<!----------------------- NAMING -->
| etymology             = 
| nickname              = 
| native_name           = <!-- {{native name}} or {{native name list}} -->
| native_name_lang      = <!-- not used by |native_name= -->
| translation           = 
| pronunciation         = 
| authority             = 
<!----------------------- GEOGRAPHY -->
| location              = <!-- While location is not deprecated, use of country,state,region,district is preferred -->
| country_type          = <!-- For Antarctica, set to Continent -->
| country               = <!-- If multiple, use {{enum}} or {{hlist}}. -->
| state_type            = 
| state                 = <!-- If multiple, use {{enum}} or {{hlist}}. -->
| region_type           = 
| region                = <!-- If multiple, use {{enum}} or {{hlist}}. -->
| district_type         = 
| district              = <!-- If multiple, use {{enum}} or {{hlist}}. -->
| part_type             = 
| part                  = <!-- If multiple, use {{enum}} or {{hlist}}. -->
| settlement_type       = 
| settlement            = <!-- If multiple, use {{enum}} or {{hlist}}.  -->
| range_coordinates     = 
| range_coordinates_ref = 
| range                 = 
| borders_on            = 
| grid_ref_UK           = 
| grid_ref_UK_ref       = 
| grid_ref_Ireland      = 
| grid_ref_Ireland_ref  = 
| topo_maker            = 
| topo_map              = 
| biome                 = 
<!----------------------- GEOLOGY -->
| formed_by             = 
| orogeny               = 
| age                   = 
| type                  = 
| geology               = 
| volcanic_arc          = 
| volcanic_belt         = 
| volcanic_field        = 
| volcanic_zone         = 
| last_eruption         = 
<!----------------------- CLIMBING -->
| first_ascent          = 
| easiest_route         = 
| normal_route          = 
| access                = 
<!----------------------- ATTACHED -->
| module                =
}}

Parameters

[edit]

Lead section

[edit]
ParameterDefault valueDescription
nameWikidata label in the local languageName of the mountain, peak or hill.
other_name Other name for the mountain. See native_name if the name is in a different language.
imageImage on WikidataImagegraph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit.
image_size280pxThe default image width in pixels.
image_upright
image_altimage_captionAlt text for the image.
image_captionmedia legend (P2096) stated on imageDescription of the imagegraph.

Maps

[edit]

The maps appear in the lead section, at the top, if there is no image present. However, if there is a image, they all move to the Geography section automatically.

Pushpin map

[edit]

Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox.

Parameter Description Default
|pushpin_map= The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by #. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. N/A
|pushpin_caption= The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by ## (that's two). Location within MAPNAME
|pushpin_relief= 0/false/off will cause the template to display the map defined as image (generally not a relief map). 1/true/on will cause the template to display the map defined as image1 (generally a relief map). Any non-zero numeric value such as 2 or 3 will display image2 or image3, if those images are defined. Any other non-empty value will cause display of image1. See the example at Location map+/relief. 0
|pushpin_label= The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{nowrap}} if you want to make sure that it stays on a single line. N/A
|pushpin_label_size= The font size to use for the label, given as a percentage of the normal font size (<100=smaller, >100=larger); the default size is 90. Do not include %. For example, use |pushpin_label_size=80, not |pushpin_label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark. 90
|pushpin_label_position= The position of the label relative to the identifying mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. When |pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption. N/A
|pushpin_mark= The name of an image file to display as the identifying mark; the default is File:Red triangle with thick white border.svg . See examples at Commons:Location markers and Commons:Category:Map icons. File:Red triangle with thick white border.svg
|pushpin_mark_size= The size of the identifying mark in pixels. Do not include px 16
|pushpin_alt= Alt text for map; used by screen readers. See WP:ALT. N/A
|pushpin_background= The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. N/A
|pushpin_map_size= Determines the width of the map in pixels, overriding any default values; do not include px. N/A

Mapframe maps

[edit]
  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, unless one of these parameters has a value: |pushpin_map=, |image_map=
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: the first of the following: |mapframe-coordinates=, |mapframe-coord=, |range_coordinates=, |range_coords=, |coordinates=, |coords=
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: yes, unless one of these parameters has a value: |mapframe-coordinates=, |mapframe-coord=, |range_coordinates=, |range_coords=, |coordinates=, |coords=
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country (P17), P131 for located in the administrative territorial entity (P131)). Default: not specified
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 250
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: mountain
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: |length_km= / |length_mi= / |area_km2= / |area_mi2=
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: mountain
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified

Highest point

[edit]
ParameterDefault valueDescription
highestelevation above sea level (P2044) with qualifier name (P2561)Name of the highest summit of a single mountain or peak.
highest_locationelevation above sea level (P2044) with qualifier location (P276)Location of highest summit.
elevationelevation above sea level (P2044)Summit elevation, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
elevation_mSummit elevation in metres, with auto-conversion.
elevation_ftSummit elevation in feet, with auto-conversion.
elevation_refN/AOptional parameter to add a suffix to the elevation parameters (such as a reference).
elevation_systemelevation above sea level (P2044) with qualifier determination method or standard (P459)The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
prominencetopographic prominence (P2660)Topographic prominence, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
prominence_mTopographic prominence in metres, with auto-conversion.
prominence_ftTopographic prominence in metres, with auto-conversion.
prominence_refN/AOptional parameter to add a suffix to the prominence parameters (such as a reference).
parent_peakparent peak (P3137) 
isolationtopographic isolation (P2659)Topographic isolation, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
isolation_kmTopographic isolation in kilometres, with auto-conversion.
isolation_miTopographic isolation in miles, with auto-conversion.
isolation_parenttopographic isolation (P2659) with qualifier relative to (P2210)Name of the landform the summit is isolated from.
isolation_refN/AOptional parameter to add a suffix to the isolation parameters (such as a reference).
listingpart of (P361)Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
coordinatescoordinate location (P625)Coordinates of the highest point or peak.
coordinates_refN/AOptional parameter to add a suffix to the coordinates parameter (such as a reference).

Dimensions

[edit]
ParameterDefault valueDescription
lengthlength (P2043)Length of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
length_kmLength in kilometres, with auto-conversion.
length_miLength in miles, with auto-conversion.
length_orientationlength (P2043) with qualifier orientation (P7469) as:
latitude (Q34027) (for EW) or longitude (Q36477) (for NS)
Length orientation.
length_refN/AOptional parameter to add a suffix to the length parameters (such as a reference).
widthwidth (P2049)Width of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
width_kmLength in kilometres, with auto-conversion.
width_miLength in miles, with auto-conversion.
width_orientationwidth (P2049) with qualifier orientation (P7469) as:
latitude (Q34027) (for EW) or longitude (Q36477) (for NS)
Width orientation.
width_refN/AOptional parameter to add a suffix to the width parameters (such as a reference).
areaarea (P2046)Footprint of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km2|mi2|abbr=on}}
area_km2Footprint of the mountain or peak in square kilometres, with auto-conversion.
area_mi2Footprint of the mountain or peak in square miles, with auto-conversion.
area_refN/AOptional parameter to add a suffix to the area parameters (such as a reference).
volumevolume as quantity (P2234)Volume of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km3|mi3|abbr=on}}
volume_km3Volume of the mountain or peak in cubic kilometres, with auto-conversion.
volume_mi3Volume of the mountain or peak in cubic miles, with auto-conversion.
volume_refN/AOptional parameter to add a suffix to the volume parameters (such as a reference).

Naming

[edit]
ParameterDefault valueDescription
etymologynamed after (P138)Origin of name
nicknamenickname (P1449) 
native_namename in native language (P1559)Name in local language – use {{native name}} or, for multiple names, use {{native name list}}
native_name_langname in native language (P1559)ISO 639-2 code of native_name; not used by native_name.
translationname in native language (P1559) with qualifier literal translation (P2441)Translation of name to English (if name is not an English name)
pronunciationIPA transcription (P898)Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPAc-en}} for English.)
authority The government agency responsible for making names official.

Geography

[edit]
ParameterDefault valueDescription
locationlocation (P276)Free-form field to describe the location.
countrycountry (P17)Country(ies) of the peak or mountain.
country_type Optional parameter to override the default "Country" label.
subdivision1/statelocated in the administrative territorial entity (P131)1st level subdivision (i.e. states) of the peak or mountain.
subdivision1_type/state_type Optional parameter to override the default "State" label.
subdivision2/region 2nd level subdivision (i.e. regions) of the peak or mountain.
subdivision2_type/region_type Optional parameter to override the default "Region" label.
subdivision3/district 3rd level subdivision (i.e. districts) of the peak or mountain.
subdivision3_type/district_type Optional parameter to override the default "District" label.
subdivision4/part 4th level subdivision (i.e. subdivisions) of the peak or mountain.
subdivision4_type/part_type Optional parameter to override the default "Subdivisions" label.
settlement Settlement(s) on/around the peak or mountain.
settlement_type Optional parameter to override the default "Settlement" label.
range_coordinates Typically marks the centre of the mountain range. Do not use for an individual mountain.
range_coordinates_refN/AOptional parameter to add a suffix to the range_coordinates parameter (such as a reference).
rangemountain range (P4552)The mountain range (specific subgroup) that the mountain/massif/range. I.e. Bernese Alps, not Alps. Alias is "parent".
borders_on/borderhas boundary (P4777)Geographical entities that form the border of the mountain or range
grid_ref_UKOS grid reference (P613)If the mountain is in Great Britain, the British grid reference. Use grid_ref_UK_ref to add a suffix reference.
grid_ref_IrelandIrish Grid Reference (P4091)If the mountain is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. Use grid_ref_Ireland_ref to add a suffix reference.
topo The publisher/maker and name of the topographic map.
topo_maker The publisher or maker of the topographic map. e.g. NTS (Canada) or USGS (United States).
topo_map The name of the topographic map.
biome Biome(s) for range

Geology

[edit]
ParameterDefault valueDescription
formed_by  
orogeny  
age Age of the rock. Geologic time scales may be useful here.
type  
rock Type of the rock mountain is made from. geology is an alias.
volcanic arc If the mountain is a volcano, the arc where it is located
volcanic belt If the mountain is a volcano, the belt where it is located
volcanic field If the mountain is a volcano, the field where it is located
volcanic zone If the mountain is a volcano, the general zone or region where it is located, if none of the other volcanic parameters are applicable
last_eruption The date of the last eruption if the mountain is of volcanic origin.

Climbing

[edit]
ParameterDefault valueDescription
first_ascent Date of the first recorded ascent.
easiest_route The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades.
normal_route  
access  

Advanced uses

[edit]
ParameterDefault valueDescription
qid  
suppressfields  
fetchwikidata  
onlysourced  
child  
embedded  
module  

Tracking categories

[edit]

Template data

[edit]

Microformat

[edit]

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

[edit]

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

[edit]

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

[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.