Jump to content

Template:Infobox mountain/doc: Difference between revisions

From the Vrienden Universe, a fictional wiki
wiki>Zackmann08
 
m 1 revision imported
 
(No difference)

Latest revision as of 19:36, 7 June 2026

Standard usage

[edit source]
{{{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}}}

<syntaxhighlight lang="wikitext" style="overflow:auto">

Infobox mountain/doc

</syntaxhighlight>

Parameters

[edit source]

Lead section

[edit source]
Parameter Default value Description
name Wikidata label in the local language Name of the mountain, peak or hill.
other_name   Other name for the mountain. See native_name if the name is in a different language.
image Image on Wikidata Imagegraph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit.
image_size 280px The default image width in pixels.
image_upright
image_alt image_caption Alt text for the image.
image_caption (P2096) stated on image Description of the imagegraph.

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.

Parameter Default value Description
map The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinates template ({{coord}}) positions a pushpin marker and label on the map automatically. Example see: Mount Everest. For a static image, use |map_image=
map_image The file name of a static map image to be displayed. To use a location map, use |map=.
map_alt Alt text for the map, primarily for visually impaired readers. See Alt text for maps.
map_caption Fill out if a map caption is desired. If not specified, location will be used.
map_image_caption Fill out if a caption for the map image is desired. If not specified, map_caption 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.
map_width
relief
label
label_position

Mapframe maps

[edit source]
  • 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: |map=, |map_image=, |image_map=, |map_relief=, |relief=.
    • 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 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 <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> 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 <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of line by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. 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 Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (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.
      • <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, 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 <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> 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 source]
Parameter Default value Description
highest (P2044) with qualifier (P2561) Name of the highest summit of a single mountain or peak.
highest_location (P2044) with qualifier (P276) Location of highest summit.
elevation (P2044) Summit elevation, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
elevation_m Summit elevation in metres, with auto-conversion.
elevation_ft Summit elevation in feet, with auto-conversion.
elevation_ref N/A Optional parameter to add a suffix to the elevation parameters (such as a reference).
elevation_system (P2044) with qualifier (P459) The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
prominence (P2660) Topographic prominence, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
prominence_m Topographic prominence in metres, with auto-conversion.
prominence_ft Topographic prominence in metres, with auto-conversion.
prominence_ref N/A Optional parameter to add a suffix to the prominence parameters (such as a reference).
parent_peak (P3137)  
isolation (P2659) Topographic isolation, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
isolation_km Topographic isolation in kilometres, with auto-conversion.
isolation_mi Topographic isolation in miles, with auto-conversion.
isolation_parent (P2659) with qualifier (P2210) Name of the landform the summit is isolated from.
isolation_ref N/A Optional parameter to add a suffix to the isolation parameters (such as a reference).
listing (P361) Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
coordinates (P625) Coordinates of the highest point or peak.
coordinates_ref N/A Optional parameter to add a suffix to the coordinates parameter (such as a reference).

Dimensions

[edit source]
Parameter Default value Description
length (P2043) Length of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
length_km Length in kilometres, with auto-conversion.
length_mi Length in miles, with auto-conversion.
length_orientation (P2043) with qualifier (P7469) as:
Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q34027) (for EW) or Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q36477) (for NS)
Length orientation.
length_ref N/A Optional parameter to add a suffix to the length parameters (such as a reference).
width (P2049) Width of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
width_km Length in kilometres, with auto-conversion.
width_mi Length in miles, with auto-conversion.
width_orientation (P2049) with qualifier (P7469) as:
Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q34027) (for EW) or Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q36477) (for NS)
Width orientation.
width_ref N/A Optional parameter to add a suffix to the width parameters (such as a reference).
area (P2046) Footprint of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km2|mi2|abbr=on}}
area_km2 Footprint of the mountain or peak in square kilometres, with auto-conversion.
area_mi2 Footprint of the mountain or peak in square miles, with auto-conversion.
area_ref N/A Optional parameter to add a suffix to the area parameters (such as a reference).
volume (P2234) Volume of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km3|mi3|abbr=on}}
volume_km3 Volume of the mountain or peak in cubic kilometres, with auto-conversion.
volume_mi3 Volume of the mountain or peak in cubic miles, with auto-conversion.
volume_ref N/A Optional parameter to add a suffix to the volume parameters (such as a reference).

Naming

[edit source]
Parameter Default value Description
etymology (P138) Origin of name
nickname (P1449)  
native_name (P1559) Name in local language – use {{native name}} or, for multiple names, use {{native name list}}
native_name_lang (P1559) ISO 639-2 code of native_name; not used by native_name.
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 {{IPAc-en}} for English.)
authority   The government agency responsible for making names official.

Geography

[edit source]
Parameter Default value Description
location (P276) Free-form field to describe the location.
country (P17) Country(ies) of the peak or mountain.
country_type   Optional parameter to override the default "Country" label.
subdivision1/state (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_ref N/A Optional parameter to add a suffix to the range_coordinates parameter (such as a reference).
range (P4552) The mountain range (specific subgroup) that the mountain/massif/range. I.e. Bernese Alps, not Alps. Alias is "parent".
borders_on/border (P4777) Geographical entities that form the border of the mountain or range
grid_ref_UK (P613) If the mountain is in Great Britain, the British grid reference. Use grid_ref_UK_ref to add a suffix reference.
grid_ref_Ireland (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 source]
Parameter Default value Description
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 source]
Parameter Default value Description
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 source]
Parameter Default value Description
qid    
suppressfields    
fetchwikidata    
onlysourced    
child    
embedded    
module    

Tracking categories

[edit source]

Template data

[edit source]

Microformat

[edit source]

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 Peo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a PPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

[edit source]

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 source]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Peo 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 source]

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