Template:Infobox mountain: Difference between revisions
(add message so that we know what parameter is categorizing the page) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 09:04, 21 February 2023
Warning | This template is used on approximately 29,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. |
File:Lua-Logo.svg | This template uses Lua: |
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={{{photo_upright}}}]] | |
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}}} |
Age of rock | {{{age}}} |
Mountain type | {{{type}}} |
Type of rock | {{{geology}}} |
Volcanic region | {{{volcanic_region}}} |
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 = | photo = | photo_size = | photo_upright = | photo_alt = | photo_caption = <!-- MAP CODE TBA --> | map = <!----------------------- HIGHEST POINT --> | highest = | highest_location = | elevation = | elevation_m = | elevation_ft = | elevation_ref = | elevation_system = | prominence = | prominence_m = | prominence_ft = | prominence_ref = | parent_peak = | isolation = | isolation_km = | isolation_mi = | isolation_parent = | isolation_ref = | listing = | coordinates = | coordinates_ref = <!----------------------- DIMENSIONS --> | length = | length_km = | length_mi = | length_orientation = | length_ref = | width = | width_km = | width_mi = | width_orientation = | width_ref = | area = | area_km2 = | area_mi2 = | area_ref = | volume = | 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}}. country1 to country18 is deprecated. --> | state_type = | state = <!-- If multiple, use {{enum}} or {{hlist}}. state1 to state18 is deprecated. --> | region_type = | region = <!-- If multiple, use {{enum}} or {{hlist}}. region1 to region23 is deprecated. --> | district_type = | district = <!-- If multiple, use {{enum}} or {{hlist}}. district1 to district18 is deprecated. --> | part_type = | part = <!-- If multiple, use {{enum}} or {{hlist}}. part1 to part19 is deprecated. --> | settlement_type = Use settlement_type= instead of city_type= (deprecated). | settlement = <!-- If multiple, use {{enum}} or {{hlist}}. settlement1 to settlement18 is deprecated. Use settlement= instead of city= (deprecated). --> | 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_region = | volcanic_arc = | volcanic_belt = | volcanic_field = | volcanic_arc/belt = | last_eruption = <!----------------------- CLIMBING --> | first_ascent = | easiest_route = | normal_route = | access = <!----------------------- ATTACHED --> | embedded = | module = }}
Parameters
Parameter | Default value | Description |
---|---|---|
Lead section | ||
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.
| |
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 | 280px | The default image width in pixels. |
photo_upright | ||
photo_alt | photo_caption |
Alt text for the photo. |
photo_caption | (P2096) stated on image | Description of the photograph. |
map |
TBA (until new informations about default values for these parameters are missing here, you can find help in the previous version, 10 March 2020) |
TBA (until new layouted descriptions for these parameters are missing here, you can find help in the previous version, 10 March 2020) |
Highest point | ||
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 | ||
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 621: attempt to index field 'wikibase' (a nil value). (Q34027) (for EW) or Lua error in Module:Wd at line 621: 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 621: attempt to index field 'wikibase' (a nil value). (Q34027) (for EW) or Lua error in Module:Wd at line 621: 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 | ||
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 {{IPA-en}} for English.) |
authority | ||
Geography | ||
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 | ||
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_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 | |
Geology | ||
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_region | If the mountain is a volcano, the arc, belt or field in which it is situated. | |
last_eruption | The date of the last eruption if the mountain is of volcanic origin. | |
Climbing | ||
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
Parameter | Default value | Description |
---|---|---|
qid | ||
suppressfields | ||
fetchwikidata | ||
onlysourced | ||
child | ||
embedded | ||
module |
Tracking categories
- Category:Wikidata value to be checked for Infobox mountain (0)
- Category:Pages using infobox mountain with multiple parameters (0)
- Category:Pages using infobox mountain with unknown parameters (0)
- Category:Pages using infobox mountain with language parameter (0)
- Category:Pages using infobox mountain with potentially incorrectly plural labels (0)
- Category:Pages using infobox mountain with plural labels and no data (0)
- Category:Pages using infobox mountain with grid ref (2)
- Category:Pages using infobox mountain with deprecated parameters (0)
TemplateData
Click the [show] link to the right to display the TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox mountain in articles based on its TemplateData.
TemplateData for Infobox mountain This template is used to create an infobox for an article about a mountain.
|
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.
- Pages with script errors
- Infobox templates
- Pages with broken file links
- Lua-based templates
- Pages using infobox mountain with grid ref
- Templates using TemplateData
- Templates with coordinates fields
- Templates generating hCards and Geo
- Embeddable templates
- Infobox templates with module parameter
- Mountain templates
- Place infobox templates
- Templates that add a tracking category
- WikiProject Mountains templates