Difference between pages "Template:Infobox mountain" and "Template:Infobox mountain/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Plastikspork (Create tracking category for bot) |
imported>Trappist the monk (data18 synced from live;) |
||
Line 5: | Line 5: | ||
| above = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | above = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
| aboveclass = fn org | | aboveclass = fn org | ||
− | |||
| abovestyle = background-color: #E7DCC3; | | abovestyle = background-color: #E7DCC3; | ||
| headerstyle = background-color: #E7DCC3; | | headerstyle = background-color: #E7DCC3; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| subheaderclass= nickname | | subheaderclass= nickname | ||
| subheader = {{{other_name|}}} | | subheader = {{{other_name|}}} | ||
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata| | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}|size={{#if:{{{photo_size|}}}|{{{photo_size|}}}|300px}}|upright=1|alt={{{photo_alt|}}}}} |
− | | caption = {{#if:{{{photo|}}}|{{{photo_caption|}}}|{{#if:{{#invoke:WikidataIB|getValue|1=P18|2=|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata| | + | | caption = {{#if:{{{photo|}}}|{{{photo_caption|}}}|{{#if:{{#invoke:WikidataIB|getValue|1=P18|2=|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}|{{#invoke:WikidataIB|getValue|1=P18|2=|name=caption|qid={{{qid|}}}|qual=P2096|qualsonly=true|rank=best|maxvals=1|ps=2}}}}}} |
| {{#if:{{{photo|}}}|data26|data1}} = {{#if:{{{map|}}} | | {{#if:{{{photo|}}}|data26|data1}} = {{#if:{{{map|}}} | ||
− | + | | <div style="padding:0.2em 0.2em {{#if:{{{map_caption|}}}{{{location|}}}|0.5em|0.2em}} 0.2em;">{{location map|{{{map}}} | |
− | + | | border = infobox | float = center | |
− | + | | alt = {{{map_alt|}}} | |
− | + | | default_width = 256 | |
− | + | | max_width = 288 | |
− | + | | width = {{if empty|{{{map_width|}}}|{{{map_size|}}} }} | |
− | + | | caption = {{#switch:{{{map_caption|}}}|NONE=|#default={{if empty|{{{map_caption|}}}|{{{location|}}} }} }} | |
− | + | | mark = Red triangle with thick white border.svg | |
− | + | | marksize = 16 | |
− | + | | relief = {{#ifeq:{{{map_relief|{{{relief|}}}}}}|0||1}} | |
− | + | | label = {{if empty|{{{label|}}}|{{#if:{{{range_coordinates|}}}||{{{name|}}} }} }} | |
− | + | | position ={{{label_position|}}} | |
− | + | | coordinates = {{if empty|{{{range_coordinates|}}}|{{{coordinates|}}}|{{{coords|}}}}} }} | |
− | + | </div> | |
− | + | | {{#if:{{{map_image|{{{image_map|}}}}}} | |
− | + | |<div style="padding:0.2em 0.2em {{#if:{{{map_caption|}}}{{{location|}}}|0.5em|0.2em}} 0.2em;">{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}}|frameless}}|upright={{{map_upright|1.16}}}|maxsize=288px|alt={{{map_alt|}}}}}{{#switch:{{{map_caption|}}}|NONE|=|#default=<div>{{{map_caption}}}</div>}} </div>}} }} | |
− | |||
− | |||
− | | header2 = Highest point | + | | header2 = {{#if:{{{highest|}}}{{{elevation|{{{elevation_m|{{{elevation_ft|}}}}}}}}}{{{prominence|{{{prominence_m|{{{prominence_ft|}}}}}}}}}{{{isolation|{{{isolation_km|{{{isolation_mi|}}}}}}}}}{{{parent_peak|}}}{{{isolation_parent|}}}{{{listing|}}}{{{coordinates|{{{coords|}}}}}}|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|,<br/>|{{#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]] | ||
− | | data4 = {{If empty|{{{elevation|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation|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|}}}|P2044}}}}}}}}{{#if:{{{elevation_ref| | + | | data4 = {{If empty|{{{elevation|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation|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|}}}|P2044}}}}}}}}{{#if:{{{elevation_ref|}}}| {{{elevation_ref|}}}}}{{If last display both|<br/>|{{#invoke:WikidataIB|getValue|1=P2044|2={{{elevation_system|}}}|name=elevation_system|qid={{{qid|}}}|qual=P459|qualsonly=Y|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|maxvals=1|noicon=false}}}} |
| label5 = [[Topographic prominence|Prominence]] | | label5 = [[Topographic prominence|Prominence]] | ||
Line 55: | Line 47: | ||
| 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}}}}}}}}{{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 | + | | 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:{{{isolation_ref|}}}| {{{isolation_ref|}}}}}{{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}}}} |
| class8 = category | | class8 = category | ||
Line 61: | Line 53: | ||
| data8 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P361|2={{{listing|}}}|name=listing|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|sorted=true|noicon=false|list=ubl|replacetext={{#ifeq:{{{fetchwikidata|}}}|ALL||[[Category:Wikidata value to be checked for Infobox mountain]]}}}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P3137}}}}}} | | data8 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P361|2={{{listing|}}}|name=listing|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|sorted=true|noicon=false|list=ubl|replacetext={{#ifeq:{{{fetchwikidata|}}}|ALL||[[Category:Wikidata value to be checked for Infobox mountain]]}}}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P3137}}}}}} | ||
− | | label9 = [[Geographic coordinate system| | + | | label9 = Peak [[Geographic coordinate system|coordinates]] |
− | | data9 = {{#if:{{{coordinates | + | | data9 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:mountain|{{#if:{{{range_coordinates|}}}||{{#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|}}}}}}}}}}}<!-- |
− | -->  | + | --> {{{coordinates_ref|}}}}} |
− | | header10 = Dimensions | + | | header10 = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}{{{width|}}}{{{width_km|}}}{{{width_mi|}}}{{{area|}}}{{{area_km2|}}}{{{area_mi2|}}}{{#invoke:WikidataIB|getValue|P2043|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=length|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{length|}}}}}{{#invoke:WikidataIB|getValue|P2046|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=area|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{area|}}}}}|Dimensions}} |
| label11 = Length | | label11 = Length | ||
− | | data11 = {{If first display both|{{If empty|{{{length|}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|{{Convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2043|2=|name=length|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2043}}}}}}}}|{{If last display both| |{{If empty|{{{length_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both| |{{{length_ref| | + | | data11 = {{If first display both|{{If empty|{{{length|}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|{{Convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2043|2=|name=length|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2043}}}}}}}}|{{If last display both| |{{If empty|{{{length_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both| |{{{length_ref|}}}}}}} |
| label12 = Width | | label12 = Width | ||
− | | data12 = {{If first display both|{{If empty|{{{width|}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|{{Convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2049|2=|name=width|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2049}}}}}}}}|{{If last display both| |{{If empty|{{{width_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both| |{{{width_ref| | + | | data12 = {{If first display both|{{If empty|{{{width|}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|{{Convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2049|2=|name=width|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2049}}}}}}}}|{{If last display both| |{{If empty|{{{width_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both| |{{{width_ref|}}}}}}} |
| label13 = Area | | label13 = Area | ||
− | | 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| | + | | 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|}}}}}}} |
| label14 = Volume | | label14 = Volume | ||
− | | 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| | + | | 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|}}}}}}} |
− | | header15 = Naming | + | | header15 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{native_name|}}}{{{translation|}}}{{{language|}}}{{{native_name_lang|}}}{{{pronunciation|}}}|Naming|}} |
| label16 = [[Etymology]] | | label16 = [[Etymology]] | ||
− | | data16 = {{{etymology|}}} | + | | data16 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P138|2={{{etymology|}}}|name=etymology|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|shortname=true|sorted=true|noicon=false|list=prose}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P138}}}}}} |
| class17 = nickname | | class17 = nickname | ||
| label17 = [[Nickname]] | | label17 = [[Nickname]] | ||
− | | data17 = {{{nickname|}}} | + | | data17 = {{If first display both|{{#invoke:WikidataIB|getValue|1=P1449|2={{{nickname|}}}|name=nickname|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|shortname=true|sorted=true|noicon=false|list=ubl}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P1449}}}}}} |
| class18 = nickname | | class18 = nickname | ||
| label18 = Native name | | label18 = Native name | ||
| data18 = {{#if:{{{native_name|}}}|<!-- | | data18 = {{#if:{{{native_name|}}}|<!-- | ||
− | + | -->{{#iferror:{{native name|{{{native_name_lang|}}}|{{{native_name}}}}}|<!-- | |
− | + | -->{{#if:{{{language|}}}|<!-- | |
− | + | -->{{#iferror:{{native name|{{#invoke:lang|tag_from_name|{{{language}}}}}|{{{native_name}}}}}|<!-- | |
− | + | -->{{lang|und|{{{native_name}}}}} {{smNONE|({{{language}}})}}}}|<!-- | |
− | + | -->{{#ifexpr:{{#invoke:String|find|{{{native_name}}}|lang}}>0|<!-- | |
− | + | -->{{{native_name}}}|<!-- | |
− | + | -->{{lang|und|{{{native_name}}}}}}}}}}}|<!-- | |
+ | -->{{If first display both|{{#invoke:WikidataIB|getValue|P1559|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=native_name|onlysourced={{{onlysourced|no}}}|linked=false|maxvals=4|sorted=true|noicon=true|list=ubl|sep="<br />"|{{{native_name|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1559}}}}}}}} | ||
| label19 = English translation | | label19 = English translation | ||
− | | data19 = {{{translation|}}} | + | | data19 = {{If first display both|{{#invoke:WikidataIB|getValue|P1559|qual=P2441|qualsonly=Y|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=translation|onlysourced={{{onlysourced|no}}}|linked=false|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{translation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1559}}}}}} |
| label20 = Language of name | | label20 = Language of name | ||
| data20 = {{#if:{{{native_name|}}}||<!-- | | data20 = {{#if:{{{native_name|}}}||<!-- | ||
-->{{#if:{{{language|}}}|{{{language}}}|<!-- | -->{{#if:{{{language|}}}|{{{language}}}|<!-- | ||
− | -->{{#if:{{{native_name_lang|}}}|{{ISO 639 name|{{{native_name_lang|}}} | + | -->{{#if:{{{native_name_lang|}}}|{{ISO 639 name link|{{{native_name_lang|}}}}}}}}}}} |
| label21 = Pronunciation | | label21 = Pronunciation | ||
− | | data21 = {{{pronunciation|}}} | + | | data21 = {{If first display both|{{#invoke:WikidataIB|getValue|P898|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=pronunciation|onlysourced={{{onlysourced|no}}}|linked=false|maxvals=4|sorted=true|noicon=true|list=ubl|sep="<br />"|{{{pronunciation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P898}}}}}} |
| label22 = Defining authority | | label22 = Defining authority | ||
| data22 = {{{authority|}}} | | data22 = {{{authority|}}} | ||
− | | header25 = Geography | + | | header25 = {{#if:{{#if:{{{photo|}}}|{{{map|}}} }}<!-- |
+ | -->{{{location|}}}{{{country|}}}{{{region|}}}{{{district|}}}{{{municipality|}}}{{{settlement|{{{city|}}}}}}<!--- | ||
+ | -->{{{border|}}}{{{parent|}}}{{{range|}}}<!--- | ||
+ | -->{{{topo|}}}{{{grid_ref_UK|}}}{{{grid_ref_Ireland|}}}{{{topo_map|}}}<!--- | ||
+ | -->{{{biome|}}}{{{range_coordinates|}}}{{{range_coords|}}}|Geography}} | ||
<!-- data26 reserved for map when photo is present --> | <!-- data26 reserved for map when photo is present --> | ||
Line 122: | Line 119: | ||
| class28 = label | | class28 = label | ||
− | | label28 = {{If empty|{{{country_type|} | + | | label28 = {{If empty|{{{country_type|}}}|Country}} |
− | | data28 = {{ | + | | data28 = {{{country|}}} |
− | |||
| class29 = label | | class29 = label | ||
− | | label29 = {{ | + | | label29 = {{#if:{{{state_type|}}}|{{{state_type}}}|{{#if:{{{state1|}}}|States|State}}}} |
− | | data29 = {{{ | + | | 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|}}} }} }} |
− | |||
| class30 = label | | class30 = label | ||
− | | label30 = {{ | + | | label30 = {{#if:{{{region_type|}}} |
− | | data30 = {{{ | + | | {{{region_type}}} |
− | + | | {{#if:{{{state|}}} | |
+ | | {{#if:{{{region1|}}}|Regions|Region}} | ||
+ | | {{#if:{{{region1|}}}|States/Provinces|State/Province}} }} }} | ||
+ | | data30 = {{#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|}}} }}|{{If first display both|{{#invoke:WikidataIB|getValue|P131|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=region|onlysourced={{{onlysourced|no}}}|linked=true|collapse=4|sorted=true|noicon=true|sep="<br />"|{{enum|{{{region|}}}|{{{region1|}}}|{{{region2|}}}|{{{region3|}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P131}}}}}}}} | ||
| class31 = label | | class31 = label | ||
− | | label31 = {{ | + | | label31 = {{#if:{{{district_type|}}}|{{{district_type}}}|{{#if:{{{district1|}}}|Districts|District}} }} |
− | | data31 = {{{ | + | | 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|}}} }} }} |
− | |||
− | | label32 = {{ | + | | label32 = {{#if:{{{settlement_type|{{{city_type|}}}}}}|{{{settlement_type|{{{city_type}}}}}}|{{#if:{{{settlement1|{{{city1|}}}}}}|Settlements|Settlement}} }} |
− | | data32 = {{{ | + | | data32 = {{#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|}}}}}} }} }} |
− | |||
− | + | | label34 = Range [[Geographic coordinate system|coordinates]] | |
− | + | | data34 = {{#if:{{{range_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{range_coordinates|}}}|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_ref}}}}} | |
− | |||
− | |||
− | | label34 = [[Geographic coordinate system| | ||
− | | data34 = {{#if:{{{range_coordinates | ||
| class35 = category | | class35 = category | ||
| label35 = [[Mountain range|{{nowrap|Parent range}}]] | | label35 = [[Mountain range|{{nowrap|Parent range}}]] | ||
− | | data35 = {{{parent|{{{ | + | | data35 = {{If first display both|{{#invoke:WikidataIB|getValue|P4552|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=range|onlysourced={{{onlysourced|no}}}|linked=true|sorted=true|noicon=true|sep="<br />"|{{{range|{{{parent|}}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P4552}}}}}} |
| label36 = Borders on | | label36 = Borders on | ||
− | | data36 = {{{ | + | | data36 = {{If first display both|{{#invoke:WikidataIB|getValue|P47|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=border|onlysourced={{{onlysourced|no}}}|linked=true|sorted=true|noicon=true|list=ubl|sep="<br />"|{{#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|}}} }} }}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P47}}}}}} |
− | + | ||
+ | | label37 = {{#if:{{{part_type|}}}|{{{part_type}}}|Subdivisions}} | ||
+ | | data37 = {{#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|}}} }} }} | ||
− | | | + | | label38 = [[Ordnance Survey National Grid|OS grid]] |
− | | | + | | data38 = {{If first display both|{{#invoke:WikidataIB|getValue|P613|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=grid_ref_UK|onlysourced={{{onlysourced|no}}}|linked=true|sorted=true|noicon=true|sep="<br />"|{{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}{{{grid_ref_UK_note|}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P613}}}}}} |
− | | | + | | label39 = [[Irish grid reference system|OSI/OSNI grid]] |
− | | | + | | data39 = {{If first display both|{{#invoke:WikidataIB|getValue|P4091|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|NONE}}}|name=grid_ref_Ireland|onlysourced={{{onlysourced|no}}}|linked=true|sorted=true|noicon=true|sep="<br />"|{{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}{{{grid_ref_Ireland_note|}}}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P4091}}}}}} |
− | | | + | | label40 = [[Topographic map|Topo map]] |
− | | | + | | data40 = {{#if:{{{topo_maker|}}}|{{{topo_maker}}} }}{{if empty|{{{topo|}}}|{{{topo_map|}}} }} |
− | | | + | | label41 = [[Biome]] |
− | | | + | | data41 = {{{biome|}}} |
− | | header42 = Geology | + | | header42 = {{#if:{{{formed_by|}}}{{{period|}}}{{{orogeny|}}}{{{geology|}}}{{{type|}}}{{{age|}}}{{{volcanic_arc|}}}{{{volcanic_belt|}}}{{{volcanic_field|}}}{{{volcanic_arc/belt|}}}{{{last_eruption|}}}|Geology|}} |
| label43 = [[Mountain formation|Formed by]] | | label43 = [[Mountain formation|Formed by]] | ||
Line 181: | Line 175: | ||
| label45 = [[Geologic time scale|Age of rock]] | | label45 = [[Geologic time scale|Age of rock]] | ||
− | | data45 = {{{age| {{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}} | + | | data45 = {{if empty|{{{age|}}}|{{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}} }} }} |
− | |||
− | | label46 = [[List of mountain types|Mountain type]] | + | | label46 = [[List of mountain types|Mountain type]] |
− | | data46 = | + | | data46 = {{{type|}}} |
| label47 = [[List of rock types|Type of rock]] | | label47 = [[List of rock types|Type of rock]] | ||
− | | data47 = {{enum|{{{ | + | | data47 = {{enum|{{{rock|}}}|{{{geology|}}}|{{{geology1|}}}|{{{geology2|}}}|{{{geology3|}}}|{{{geology4|}}}|{{{geology5|}}} }} |
− | |||
− | | label48 = | + | | label48 = {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]] |
− | + | | {{#if:{{{volcanic_belt|}}}|[[Volcanic belt]] | |
− | + | | {{#if:{{{volcanic_field|}}}|[[Volcanic field]] | |
− | + | | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}} | |
− | + | | data48 = {{if empty|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}} | |
− | | data48 = {{ | ||
− | | label49 = [[ | + | | label49 = [[Stratigraphic unit]] |
− | | data49 = {{{ | + | | data49 = {{{stratigraphic_unit|}}} |
− | | | + | | label50 = [[Types of volcanic eruptions|Last eruption]] |
+ | | data50 = {{{last_eruption|}}} | ||
− | | | + | | header51 = {{#if:{{{first_ascent|}}}{{{easiest_route|}}}{{{normal_route|}}}{{{access|}}}|Climbing}} |
− | | | ||
− | | label52 = [[ | + | | label52 = [[First ascent]] |
− | | data52 = {{{ | + | | data52 = {{{first_ascent|}}} |
− | | label53 = [[Normal route]] | + | | label53 = [[Normal route|{{nowrap|Easiest route}}]] |
− | | data53 = {{{ | + | | data53 = {{{easiest_route|}}} |
− | | label54 = | + | | label54 = [[Normal route]] |
− | | data54 = {{{ | + | | data54 = {{{normal_route|}}} |
− | | | + | | label55 = Access |
+ | | data55 = {{{access|}}} | ||
| data56 = {{{embedded|}}} | | data56 = {{{embedded|}}} | ||
− | | data57 = {{{ | + | | data57 = {{{misc|{{{module|}}}}}} |
− | + | ||
− | }} | + | | below = <includeonly>{{#if:{{{child|}}}||{{EditOnWikidata|qid={{{qid|}}}}}}}</includeonly> |
− | + | ||
− | + | }} | |
− | + | <noinclude>{{Documentation|Template:Infobox mountain/sandbox/doc}}</noinclude> | |
− | {{#if:{{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− |