Template:Infobox mountain: Difference between revisions
meta>Rehman adding Wikidata code for width - switch NONE to ALL to enable |
m 385 revisions imported |
||
(19 intermediate revisions by 4 users not shown) | |||
Line 5: | Line 5: | ||
| above = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | above = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
| aboveclass = fn org | | aboveclass = fn org | ||
| autoheaders = y | |||
| abovestyle = background-color: #E7DCC3; | | abovestyle = background-color: #E7DCC3; | ||
| headerstyle = background-color: #E7DCC3; | | headerstyle = background-color: #E7DCC3; | ||
Line 11: | Line 12: | ||
| imagestyle = padding: 0.2em 0.2em 0.2em 0.2em; | | imagestyle = padding: 0.2em 0.2em 0.2em 0.2em; | ||
| captionstyle = padding: 0.2em 0em; | | captionstyle = padding: 0.2em 0em; | ||
| bodystyle = line-height:normal; width:24.5em; | |||
| subheaderclass= nickname | | subheaderclass= nickname | ||
Line 38: | Line 40: | ||
}} | }} | ||
| header2 = | | header2 = Highest point | ||
| label3 = Peak | | label3 = Peak | ||
| data3 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest|}}}|name=highest|qid={{{qid|}}}|qual=P2561|qualsonly=Y|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|noicon=false}}|{{If last display both|, | | data3 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest|}}}|name=highest|qid={{{qid|}}}|qual=P2561|qualsonly=Y|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|noicon=false}}|{{If last display both|, |{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest_location|}}}|name=highest_location|qid={{{qid|}}}|qual=P276|qualsonly=Y|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|noicon=false}}}}}} | ||
| label4 = [[Summit|Elevation]] | | label4 = [[Summit|Elevation]] | ||
Line 53: | Line 55: | ||
| label7 = [[Topographic isolation|Isolation]] | | label7 = [[Topographic isolation|Isolation]] | ||
| data7 = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{Convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2659|2=|name=isolation|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2659}}} | | data7 = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{Convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2659|2=|name=isolation|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}}}{{If last display both|<br/>to |{{#invoke:WikidataIB|getValue|1=P2659|2={{{isolation_parent|}}}|name=isolation_parent|qid={{{qid|}}}|qual=P2210|qualsonly=Y|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|maxvals=1|noicon=false}}}}{{#if:{{{isolation_ref|}}}| {{{isolation_ref|}}}}} | ||
| class8 = category | | class8 = category | ||
Line 63: | Line 65: | ||
--> {{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }} | --> {{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }} | ||
| header10 = | | header10 = Dimensions | ||
| label11 = Length | | label11 = Length | ||
Line 72: | Line 74: | ||
| label13 = Area | | label13 = Area | ||
| data13 = {{ | | data13 = {{If first display both|{{If empty|{{{area|}}}|{{#if:{{{area_km2|}}}{{{area_mi2|}}}|{{Convinfobox|{{{area_km2|}}}|km2|{{{area_mi2|}}}|mi2}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2046|2=|name=area|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2046}}}}}}}}|{{If last display both| |{{{area_ref|{{{area_note|}}}}}}}}}} | ||
| label14 = Volume | | label14 = Volume | ||
| data14 = {{ | | data14 = {{If first display both|{{If empty|{{{volume|}}}|{{#if:{{{volume_km3|}}}{{{volume_mi3|}}}|{{Convinfobox|{{{volume_km3|}}}|km3|{{{volume_mi3|}}}|mi3}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2234|2=|name=volume|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2234}}}}}}}}|{{If last display both| |{{{volume_ref|{{{volume_note|}}}}}}}}}} | ||
| header15 = | | header15 = Naming | ||
| label16 = [[Etymology]] | | label16 = [[Etymology]] | ||
Line 95: | Line 91: | ||
| label18 = Native name | | label18 = Native name | ||
| data18 = {{#if:{{{native_name|}}}|<!-- | | data18 = {{#if:{{{native_name|}}}|<!-- | ||
-->{{#iferror:{{ | -->{{#iferror:{{native name|{{{native_name_lang|}}}|{{{native_name}}}}}|<!-- | ||
-->{{#if:{{{language|}}}|<!-- | -->{{#if:{{{language|}}}|<!-- | ||
-->{{#iferror:{{ | -->{{#iferror:{{native name|{{#invoke:lang|tag_from_name|{{{language}}}}}|{{{native_name}}}}}|<!-- | ||
-->{{lang|und|{{{native_name}}}}} ({{{language}}})}}|<!-- | -->{{lang|und|{{{native_name}}}}} ({{{language}}})}}|<!-- | ||
-->{{#ifexpr:{{#invoke:String|find|{{{native_name}}}|lang}}>0|<!-- | -->{{#ifexpr:{{#invoke:String|find|{{{native_name}}}|lang}}>0|<!-- | ||
Line 109: | Line 105: | ||
| data20 = {{#if:{{{native_name|}}}||<!-- | | data20 = {{#if:{{{native_name|}}}||<!-- | ||
-->{{#if:{{{language|}}}|{{{language}}}|<!-- | -->{{#if:{{{language|}}}|{{{language}}}|<!-- | ||
-->{{#if:{{{native_name_lang|}}}|{{ | -->{{#if:{{{native_name_lang|}}}|{{ISO 639 name|{{{native_name_lang|}}}|link=yes}}}}}}}} | ||
| label21 = Pronunciation | | label21 = Pronunciation | ||
Line 117: | Line 113: | ||
| data22 = {{{authority|}}} | | data22 = {{{authority|}}} | ||
| header25 = | | header25 = Geography | ||
<!-- data26 reserved for map when photo is present --> | <!-- data26 reserved for map when photo is present --> | ||
| class27 = label | | class27 = label | ||
| label27 = Location | | label27 = Location | ||
Line 128: | Line 122: | ||
| class28 = label | | class28 = label | ||
| label28 = {{ | | label28 = {{If empty|{{{country_type|}}}|{{#if:{{{country1|}}}|Countries}}|Country}} | ||
| data28 = {{#if:{{{country4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{country|}}}|2={{{country1|}}}|3={{{country2|}}}|4={{{country3|}}}|5={{{country4|}}}|6={{{country5|}}}|7={{{country6|}}}|8={{{country7|}}}|9={{{country8|}}}|10={{{country9|}}}|11={{{country10|}}}|12={{{country11|}}}|13={{{country12|}}}|14={{{country13|}}}|15={{{country14|}}}|16={{{country15|}}}|17={{{country16|}}}|18={{{country17|}}}|19={{{country18|}}} }}|{{enum|{{{country|}}}|{{{country1|}}}|{{{country2|}}}|{{{country3|}}} }} }} | | data28 = {{#if:{{{country1|}}}|{{#if:{{{country4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{country|}}}|2={{{country1|}}}|3={{{country2|}}}|4={{{country3|}}}|5={{{country4|}}}|6={{{country5|}}}|7={{{country6|}}}|8={{{country7|}}}|9={{{country8|}}}|10={{{country9|}}}|11={{{country10|}}}|12={{{country11|}}}|13={{{country12|}}}|14={{{country13|}}}|15={{{country14|}}}|16={{{country15|}}}|17={{{country16|}}}|18={{{country17|}}}|19={{{country18|}}} }}|{{enum|{{{country|}}}|{{{country1|}}}|{{{country2|}}}|{{{country3|}}} }} }}{{main other|[[Category:Pages using infobox mountain with multiple parameters|Country]]}}|{{{country|}}}}} | ||
| class29 = label | | class29 = label | ||
| label29 = {{ | | label29 = {{If empty|{{{subdivision1_type|}}}|{{{state_type|}}}|{{#if:{{{state1|}}}|States}}|State}} | ||
| data29 = {{#if:{{{state4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{state|}}}|2={{{state1|}}}|3={{{state2|}}}|4={{{state3|}}}|5={{{state4|}}}|6={{{state5|}}}|7={{{state6|}}}|8={{{state7|}}}|9={{{state8|}}}|10={{{state9|}}}|11={{{state10|}}}|12={{{state11|}}}|13={{{state12|}}}|14={{{state13|}}}|15={{{state14|}}}|16={{{state15|}}}|17={{{state16|}}}|18={{{state17|}}}|19={{{state18|}}} }}|{{enum|{{{state|}}}|{{{state1|}}}|{{{state2|}}}|{{{state3|}}} }} }}{{#if:{{{state1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|State]]}}}} | | data29 = {{{subdivision1|{{#if:{{{state4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{state|}}}|2={{{state1|}}}|3={{{state2|}}}|4={{{state3|}}}|5={{{state4|}}}|6={{{state5|}}}|7={{{state6|}}}|8={{{state7|}}}|9={{{state8|}}}|10={{{state9|}}}|11={{{state10|}}}|12={{{state11|}}}|13={{{state12|}}}|14={{{state13|}}}|15={{{state14|}}}|16={{{state15|}}}|17={{{state16|}}}|18={{{state17|}}}|19={{{state18|}}} }}|{{enum|{{{state|}}}|{{{state1|}}}|{{{state2|}}}|{{{state3|}}} }} }}{{#if:{{{state1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|State]]}}}}}}} | ||
| class30 = label | | class30 = label | ||
| label30 = {{ | | label30 = {{If empty|{{{subdivision2_type|}}}|{{{region_type|}}}|{{#if:{{{region1|}}}|Regions}}|Region}} | ||
| data30 = {{{subdivision2|{{#if:{{{region4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{region|}}}|2={{{region1|}}}|3={{{region2|}}}|4={{{region3|}}}|5={{{region4|}}}|6={{{region5|}}}|7={{{region6|}}}|8={{{region7|}}}|9={{{region8|}}}|10={{{region9|}}}|11={{{region10|}}}|12={{{region11|}}}|13={{{region12|}}}|14={{{region13|}}}|15={{{region14|}}}|16={{{region15|}}}|17={{{region16|}}}|18={{{region17|}}}|19={{{region18|}}}|20={{{region19|}}}|21={{{region20|}}}|22={{{region21|}}}|23={{{region22|}}}|24={{{region23|}}} }}|{{enum|{{{region|}}}|{{{region1|}}}|{{{region2|}}}|{{{region3|}}} }} }}{{#if:{{{region1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Region]]}}}}}}} | |||
| class31 = label | | class31 = label | ||
| label31 = {{ | | label31 = {{If empty|{{{subdivision3_type|}}}|{{{district_type|}}}|{{#if:{{{district1|}}}|Districts}}|District}} | ||
| data31 = {{#if:{{{district4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{district|}}}|2={{{district1|}}}|3={{{district2|}}}|4={{{district3|}}}|5={{{district4|}}}|6={{{district5|}}}|7={{{district6|}}}|8={{{district7|}}}|9={{{district8|}}}|10={{{district9|}}}|11={{{district10|}}}|12={{{district11|}}}|13={{{district12|}}}|14={{{district13|}}}|15={{{district14|}}}|16={{{district15|}}}|17={{{district16|}}}|18={{{district17|}}}|19={{{district18|}}} }}|{{enum|{{{district|}}}|{{{district1|}}}|{{{district2|}}}|{{{district3|}}} }} }}{{#if:{{{district1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|District]]}}}} | | data31 = {{{subdivision3|{{#if:{{{district4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{district|}}}|2={{{district1|}}}|3={{{district2|}}}|4={{{district3|}}}|5={{{district4|}}}|6={{{district5|}}}|7={{{district6|}}}|8={{{district7|}}}|9={{{district8|}}}|10={{{district9|}}}|11={{{district10|}}}|12={{{district11|}}}|13={{{district12|}}}|14={{{district13|}}}|15={{{district14|}}}|16={{{district15|}}}|17={{{district16|}}}|18={{{district17|}}}|19={{{district18|}}} }}|{{enum|{{{district|}}}|{{{district1|}}}|{{{district2|}}}|{{{district3|}}} }} }}{{#if:{{{district1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|District]]}}}}}}} | ||
| label32 = {{If empty|{{{subdivision4_type|}}}|{{{part_type|}}}|{{#if:{{{part1|}}}|Subdivisions}}|Subdivision}} | |||
| data32 = {{{subdivision4|{{#if:{{{part4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{part|}}}|2={{{part1|}}}|3={{{part2|}}}|4={{{part3|}}}|5={{{part4|}}}|6={{{part5|}}}|7={{{part6|}}}|8={{{part7|}}}|9={{{part8|}}}|10={{{part9|}}}|11={{{part10|}}}|12={{{part11|}}}|13={{{part12|}}}|14={{{part13|}}}|15={{{part14|}}}|16={{{part15|}}}|17={{{part16|}}}|18={{{part17|}}}|19={{{part18|}}}|20={{{part19|}}} }}|{{enum|{{{part|}}}|{{{part1|}}}|{{{part2|}}}|{{{part3|}}} }} }}{{#if:{{{part1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Part]]}}}}}}} | |||
| | | label33 = {{If empty|{{{settlement_type|{{{city_type|}}}}}}|{{#if:{{{settlement1|{{{city1|}}}}}}|Settlements}}|Settlement}} | ||
| data33 = {{#if:{{{settlement1|}}}{{{city1|}}}|{{#if:{{{settlement4|{{{city4|}}}}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{settlement|{{{city|}}}}}}|2={{{settlement1|{{{city1|}}}}}}|3={{{settlement2|{{{city2|}}}}}}|4={{{settlement3|{{{city3|}}}}}}|5={{{settlement4|{{{city4|}}}}}}|6={{{settlement5|{{{city5|}}}}}}|7={{{settlement6|{{{city6|}}}}}}|8={{{settlement7|{{{city7|}}}}}}|9={{{settlement8|{{{city8|}}}}}}|10={{{settlement9|{{{city9|}}}}}}|11={{{settlement10|{{{city10|}}}}}}|12={{{settlement11|{{{city11|}}}}}}|13={{{settlement12|{{{city12|}}}}}}|14={{{settlement13|{{{city13|}}}}}}|15={{{settlement14|{{{city14|}}}}}}|16={{{settlement15|{{{city15|}}}}}}|17={{{settlement16|{{{city16|}}}}}}|18={{{settlement17|{{{city17|}}}}}}|19={{{settlement18|{{{city18|}}}}}} }}|{{enum|{{{settlement|{{{city|}}}}}}|{{{settlement1|{{{city1|}}}}}}|{{{settlement2|{{{city2|}}}}}}|{{{settlement3|{{{city3|}}}}}} }} }}{{#if:{{{city1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|City]]}}}}{{main other|[[Category:Pages using infobox mountain with multiple parameters|Settlement]]}}|{{{settlement|{{{city|}}}}}}}} | |||
| label34 = [[Geographic coordinate system|Range coordinates]] | | label34 = [[Geographic coordinate system|Range coordinates]] | ||
| data34 = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{range_coordinates|}}}|{{{range_coords|}}}}}|type:mountain|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}{{#if:{{{range_coordinates_note|}}}| {{{range_coordinates_note}}} }} | | data34 = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{range_coordinates|}}}|{{{range_coords|}}}}}|type:mountain|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}{{#if:{{{range_coordinates_ref|{{{range_coordinates_note|}}}}}}| {{{range_coordinates_ref|{{{range_coordinates_note|}}}}}}}} | ||
| class35 = category | | class35 = category | ||
Line 159: | Line 151: | ||
| label36 = Borders on | | label36 = Borders on | ||
| data36 = {{#if:{{{border4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{border|}}}|2={{{border1|}}}|3={{{border2|}}}|4={{{border3|}}}|5={{{border4|}}}|6={{{border5|}}}|7={{{border6|}}}|8={{{border7|}}}|9={{{border8|}}} }}|{{enum|{{{border|}}}|{{{border1|}}}|{{{border2|}}}|{{{border3|}}} }} }}{{#if:{{{border1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Border]]}}} | | data36 = {{{borders_on|{{#if:{{{border4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{border|}}}|2={{{border1|}}}|3={{{border2|}}}|4={{{border3|}}}|5={{{border4|}}}|6={{{border5|}}}|7={{{border6|}}}|8={{{border7|}}}|9={{{border8|}}} }}|{{enum|{{{border|}}}|{{{border1|}}}|{{{border2|}}}|{{{border3|}}} }} }}{{#if:{{{border1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Border]]}}}}}}} | ||
| | | label37 = [[Ordnance Survey National Grid|OS grid]] | ||
| | | data37 = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}{{{grid_ref_UK_ref|{{{grid_ref_UK_note|}}}}}}}} | ||
| | | label38 = [[Irish grid reference system|OSI/OSNI grid]] | ||
| | | data38 = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}{{{grid_ref_Ireland_ref|{{{grid_ref_Ireland_note|}}}}}}}} | ||
| | | label39 = [[Topographic map|Topo map]] | ||
| | | data39 = {{#if:{{{topo_maker|}}}|{{{topo_maker}}} }}{{if empty|{{{topo|}}}|{{{topo_map|}}} }} | ||
| | | label40 = [[Biome]] | ||
| | | data40 = {{{biome|}}} | ||
| header42 = | | header42 = Geology | ||
| label43 = [[Mountain formation|Formed by]] | | label43 = [[Mountain formation|Formed by]] | ||
Line 185: | Line 174: | ||
| label45 = [[Geologic time scale|Age of rock]] | | label45 = [[Geologic time scale|Age of rock]] | ||
| data45 = | | data45 = {{{age|{{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}}}}{{#if:{{{period1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Period]]}}}}}}} | ||
| label46 = [[List of mountain types|Mountain type]] | | label46 = [[List of mountain types|Mountain type]] | ||
| data46 = {{{type|}}} | | data46 = {{{mountain_type|{{{type|}}}}}} | ||
| label47 = [[List of rock types|Type of rock]] | | label47 = [[List of rock types|Type of rock]] | ||
| data47 = {{enum|{{{ | | data47 = {{enum|{{{geology|}}}|{{{geology1|}}}|{{{geology2|}}}|{{{geology3|}}}|{{{geology4|}}}|{{{geology5|}}}|{{{rock|}}}}}{{#if:{{{geology1|}}}|{{main other|[[Category:Pages using infobox mountain with multiple parameters|Geology]]}}}} | ||
| label48 = {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]] | | label48 = {{#if:{{{volcanic_region|}}}|Volcanic region | ||
| {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]] | |||
| {{#if:{{{volcanic_belt|}}}|[[Volcanic belt]] | |||
| {{#if:{{{volcanic_field|}}}|[[Volcanic field]] | |||
| data48 = {{ | | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}}}} | ||
| data48 = {{If empty|{{{volcanic_region|}}}|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}} | |||
| label49 = [[Types of volcanic eruptions|Last eruption]] | | label49 = [[Types of volcanic eruptions|Last eruption]] | ||
| data49 = {{{last_eruption|}}} | | data49 = {{{last_eruption|}}} | ||
| header50 = | | header50 = Climbing | ||
| label51 = [[First ascent]] | | label51 = [[First ascent]] |
Latest revision as of 17:22, 3 September 2020
This template page is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. This template was placed by User:Rehman. If this template page has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This template was last edited by Ookami (talk | contribs) 4 years ago. (Update timer) |
This template is used on approximately 28,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
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.
{{{name}}} | |||
---|---|---|---|
{{{other_name}}} | |||
[[File:{{{photo}}}|{{{photo_size}}}|alt={{{photo_alt}}}|upright=1]] | |||
Highest point | |||
Elevation | {{{elevation}}} {{{elevation_ref}}} | ||
Prominence | {{{prominence}}} {{{prominence_ref}}} | ||
Parent peak | {{{parent_peak}}} | ||
Isolation | {{{isolation}}} to {{{isolation_parent}}} {{{isolation_ref}}} | ||
Listing | {{{listing}}} | ||
Coordinates | {{{coordinates}}} {{{coordinates_ref}}} | ||
Naming | |||
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 |
| ||
OSI/OSNI grid |
| ||
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]] |
{{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
Only the name and elevation fields are required. All other fields are optional and will not display if not present in the template or do not have any value.
Naming and hierarchy parameters
name | Name of the mountain, peak or hill. If more than one mountain by the name exists, the article is likely disambiguated but this name in the infobox should be the undisambiguated name. For example, Mount Columbia (for Mount Columbia (Canada) or Mount Columbia (Colorado)). An elevation must be supplied. |
---|---|
native_name | Name in local language. If more than one, separate using {{Plain list}} and {{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 native_name instead, if other name is in a different language from main name. Use {{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 {{IPA-en}} for English.) |
listing | Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples. |
range | Mountain range that the mountain/massif/range belongs to, if applicable. The specific range subgroup should be provided instead of any major mountain system unless there is no applicable subgroup. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps. |
Photographic and mapping parameters
photo | Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit. Do not include the "File:" prefix. If uploading a new image, please put them on Commons so they can be easily used by the other language Wikipedias. |
---|---|
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 280px; for logged-in users who have changed the setting at Special:Preferences the displayed image could range from 150px to 500px). See also: Module:InfoboxImage, WP:AUTOSIZE, WP:EIS, WP:IMGSIZE, and MOS:IMGSIZE. |
photo_alt | Alt text for the photo, primarily for visually impaired readers. See Wikipedia:Alternative text for images. |
photo_caption | Description of the photograph which is displayed below. Include the month and year if known. |
map | The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The 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_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. |
Dimensional parameters
highest | Name of highest summit of a single mountain or peak in the range |
---|---|
highest_location | location of highest point, e.g., country or province |
elevation_m | Height of highest point, in meters, as a number (e.g., 8848) or interval of plus/minus spaced (8850 +/- 10). Will automatically convert to feet. The infobox uses the same rounding method as {{convert}}: it guesses the precision from the value. If an editor wishes to specify the precision, use {{convert}} and the freeform parameter, "elevation" instead. |
prominence_m | The clean topographic prominence of the highest point. Uses same rounding as {{convert}}. |
length_km | Length and width of mountain or range, in kilometers, as a number. Will automatically convert to miles. Uses same rounding as {{convert}} |
width_km | |
area_km2 | Area of mountain or range, in square kilometers, as a number. Will automatically convert to square miles. Uses same rounding as {{convert}} |
length_orientation | Length orientation such as N-S for North to South |
width_orientation | Width orientation such as E-W for East to West |
elevation_ft | As above, except number is expressed in U.S. units, and will automatically convert to metric. Please use only for mountain ranges in the United States. Uses same rounding as {{convert}}. |
prominence_ft | |
length_mi | |
width_mi | |
area_mi2 | |
elevation | Free form field for expressing dimension, no automatic unit conversion. To be used instead of parameters like elevation_m or elevation_ft |
prominence | |
length | |
width | |
area | |
elevation_system | The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN |
elevation_note | Note field after dimensional quantity, typically used for inline citation that supports the quantity |
prominence_note | |
length_note | |
width_note | |
area_note |
Coordinate parameters
There are four ways to enter the location of a mountain or a range:
coordinates | Coordinates for the single peak (if a mountain) or the highest peak in range. Will appear under "highest point" section as a link. Use {{coord}} to specify the coordinates, ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code, scale, dim, ... See the documentation for details. |
---|---|
range_coordinates | 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 {{coord}} to specify the coordinates, ISO region, scale, dim, ... Will place mark on map without label, unless |coordinates= is supplied.
|
grid_ref_UK | If the mountain is in Great Britain, the British grid reference. For mountains outside of Great Britain, this field is not applicable and therefore should be removed if it is present. Will not place mark on map. Use only the OS grid ref, do not add a reference to this field. |
grid_ref_Ireland | If the mountain is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For mountains outside Ireland, this field is not applicable and therefore should be removed if it is present. 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:
coordinates_note | Reference or other notes displayed on the same line as the |coordinates= data
|
---|---|
range_coordinates_note | Reference or other notes displayed on the same line as the |range_coordinates= data
|
grid_ref_UK_note | Reference or other notes displayed on the same line as the |grid_ref_UK= data
|
grid_ref_Ireland_note | Reference or other notes displayed on the same line as the |grid_ref_Ireland= data
|
Geographical parameters
location | Free-form field describing location of range, similar to {{Infobox mountain}} |
---|---|
country,country1,...,country19 | Countries that range spans. First use country, then country# in order. For more than four countries, infobox will automatically put into collapsed list. |
country_type | Alternative label for country, e.g., use Continent for ranges in Antarctica |
state,state1,...,state19 | States that range spans. For provinces, set state_type to "Province" |
state_type | Alternative label for state, e.g. Province |
region,region1,...,region23 | Sub-national regions that range spans. |
region_type | Label for sub-national regions, overriding default "State/Province" |
district,district1,...,district19 | Sub-regional areas that range spans, e.g., counties in the United States |
district_type | Label for sub-regional areas, overriding default "District" |
city,city1,...,city19 | Settlements within the mountain range. |
city_type | Label for settlements, overriding default "Settlement" |
parent | Parent mountain range |
border,border1,...,border3 | Geographical entities that form the border of the mountain or range |
biome | Biome(s) for range |
topo_maker,topo_map | The publisher and name (respectively) of the topographic map that contains the range |
Geological parameters
type | The type of mountain — see List of mountain types. |
---|---|
geology geology1, etc. |
Type of the rock mountain is made from |
age | Age of the rock. Geologic time scales may be useful here. |
volcanic_arc volcanic_belt volcanic_field volcanic_arc/belt |
If the mountain is a volcano, the arc, belt or field in which it is situated. Each parameter displays an appropriate label. |
last_eruption | The date of the last eruption if the mountain is of volcanic origin. Only use Unknown if a verifiable source such as the Global Volcanism Program states it as such. |
Miscellaneous parameters
first_ascent | Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added. |
---|---|
easiest_route | The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades. |
child | "yes" if the mountain infobox is embedded inside another Infobox |
embedded | value = another Infobox to place within the mountain infobox. The other infobox will show up at the end of the mountain infobox. The other infobox needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate. |
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Infobox mountain This template is used to create an infobox for an article about a mountain.
|
General notes
Blank starter templates for various areas of the world (just copy and paste):
Examples
A mountain infobox without a map
Mount Shasta | |
---|---|
Highest point | |
Elevation | 14,179 feet (4,322 m) |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Geography | |
Location | California, USA |
Parent range | Cascades |
Topo map | USGS Mount Shasta |
Geology | |
Age of rock | Less than 593 ka |
Mountain type | Composite volcano |
Last eruption | 1786 |
Climbing | |
First ascent | 1854 by E.D. Pearce and party |
Easiest route | rock/ice |
{{Infobox mountain | name = Mount Shasta | photo = Mt Shasta from the northwest-750px.JPG | photo_size = <!-- omitted to display at user's default size --> | photo_alt = A large mountain rises in the distance over shrubs and trees, its peak covered with snow. | photo_caption = Mount Shasta and Shastina from the Butte Valley (North-East) | elevation = {{convert|14179|ft|m|0}} | location = [[California]], USA | range = [[Cascade Range|Cascades]] | prominence = | coordinates = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline<!--,title-->}} | topo = [[United States Geological Survey|USGS]] Mount Shasta | type = [[Composite volcano]] | age = Less than 593 [[kiloannum|ka]] | last_eruption = 1786 | first_ascent = 1854 by E. D. Pearce and party | easiest_route = rock/ice | listing = }}
A mountain infobox with a map
K2 | |
---|---|
Highest point | |
Elevation | 8,611 m (28,251 ft) |
Prominence | 4,017 m (13,179 ft) |
Listing | 2nd highest on Earth |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Geography | |
Script error: No such module "Location map".
| |
Location | Taxkorgan Tajik Autonomous County, Xinjiang, China/ Gilgit-Baltistan, Pakistan |
Parent range | Karakoram |
Climbing | |
First ascent | July 1954 by Lacedelli and Compagnoni |
Easiest route | Rock, snow and ice climb |
{{Infobox mountain | name = K2 | photo = K2 2006b.jpg | photo_size = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px --> | photo_alt = A large angular white mountain, with steeply sloped sides mostly covered with snow. | photo_caption = K2 in Summer | elevation_m = 8611 | elevation_ref = | prominence_m = 4017 | listing = [[Eight-thousander|2nd highest on Earth]] | location = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], China/[[Northern Areas, Pakistan]] | range = [[Karakoram]] | topo = | first_ascent = July 1954 by Lacedelli and Compagnoni | easiest_route = Rock, snow and ice climb | map = Pakistan | label_position = right | map_alt = K2 is located on the far northwest border of Pakistan, next to China | map_caption = Location on Pakistan/China border | map_size = 300 | coordinates = {{coord|35|52|57|N|76|30|48|E|type:mountain|display=inline<!--,title-->}} }}
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.
Tracking categories
- Category:Pages using infobox mountain with unknown parameters (0)
- Category:No local image but image on Wikidata (1) – 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
|nocat_wdimage=yes
.
Supporting templates
The following templates are used directly from this template:
- {{Infobox}}
- {{Collapsible list}}
- {{Convert}}
- {{Convinfobox}}
- {{Enum}}
- {{Gbm4ibx}}
- {{Iem4ibx}}
- {{If empty}}
- {{Infobox dim}}
- {{Location map}}
- {{Main other}}
- {{PAGENAMEBASE}}
- {{Wikidata image}}
- Infobox templates
- Pages using Under construction with the placedby parameter
- Pages actively undergoing construction
- Pages with broken file links
- Templates tracking Wikidata
- Lua-based templates
- Lang and lang-xx template errors
- Redirects from shortcuts
- Templates with coordinates fields
- Templates generating hCards and Geo
- Mountain templates
- WikiProject Mountains templates
- Geography infobox templates
- Infobox templates with module parameter
- Embeddable templates
- Templates that add a tracking category