Template:Infobox mountain: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
No edit summary
Tags: Manual revert 2017 source edit
mNo edit summary
Tag: 2017 source edit
 
Line 43: Line 43:
| 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=true|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=true|qshortname=true|noicon=false}}}}}}
| 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=true|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=true|qshortname=true|noicon=false}}}}}}


| label4        = [[Summit|Elevation]]
| label4        = [[w: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=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2044}}}}}}}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|{{{elevation_ref|{{{elevation_note|}}}}}}}}{{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=true|qshortname=true|maxvals=1|noicon=false}}}}
| 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=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2044}}}}}}}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|{{{elevation_ref|{{{elevation_note|}}}}}}}}{{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=true|qshortname=true|maxvals=1|noicon=false}}}}


| label5        = [[Topographic prominence|Prominence]]
| label5        = [[w:Topographic prominence|Prominence]]
| data5        = {{If empty|{{{prominence|}}}|{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{Convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2660|2=|name=prominence|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2660}}}}}}}}{{#if:{{{prominence_ref|}}}|{{{prominence_ref|}}}}}
| data5        = {{If empty|{{{prominence|}}}|{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{Convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2660|2=|name=prominence|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2660}}}}}}}}{{#if:{{{prominence_ref|}}}|{{{prominence_ref|}}}}}


| label6        = [[Topographic prominence#Prominence parentage|Parent peak]]
| label6        = [[w:Topographic prominence#Prominence parentage|Parent peak]]
| data6        = {{If first display both|{{#invoke:WikidataIB|getValue|1=P3137|2={{{parent_peak|}}}|name=parent_peak|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|shortname=true|maxvals=1|noicon=false|replacetext={{#ifeq:{{{fetchwikidata|}}}|ALL||[[Category:Wikidata value to be checked for Infobox mountain]]}}}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P3137}}}}}}
| data6        = {{If first display both|{{#invoke:WikidataIB|getValue|1=P3137|2={{{parent_peak|}}}|name=parent_peak|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|shortname=true|maxvals=1|noicon=false|replacetext={{#ifeq:{{{fetchwikidata|}}}|ALL||[[Category:Wikidata value to be checked for Infobox mountain]]}}}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P3137}}}}}}


| label7        = [[Topographic isolation|Isolation]]
| label7        = [[w: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=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}}}{{If last display both|<br/>to&nbsp;|{{#invoke:WikidataIB|getValue|1=P2659|2={{{isolation_parent|}}}|name=isolation_parent|qid={{{qid|}}}|qual=P2210|qualsonly=Y|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|qshortname=true|maxvals=1|noicon=false}}}}{{#if:{{{isolation_ref|}}}|{{{isolation_ref|}}}}}
| 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=true|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}}}{{If last display both|<br/>to&nbsp;|{{#invoke:WikidataIB|getValue|1=P2659|2={{{isolation_parent|}}}|name=isolation_parent|qid={{{qid|}}}|qual=P2210|qualsonly=Y|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|qshortname=true|maxvals=1|noicon=false}}}}{{#if:{{{isolation_ref|}}}|{{{isolation_ref|}}}}}


| class8        = category
| class8        = category
| label8        = [[Lists of mountains|Listing]]
| label8        = [[w:Lists of mountains|Listing]]
| data8        = {{If first display both|{{#invoke:WikidataIB|getValue|1=P361|2={{{listing|}}}|name=listing|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced=true|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=true|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|Coordinates]]
| label9        = [[w:Geographic coordinate system|Coordinates]]
| data9        = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|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|}}}}}}}}}}}<!--
| data9        = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|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|}}}}}}}}}}}<!--
     -->{{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }}
     -->{{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }}
Line 79: Line 79:
| header15      = Naming
| header15      = Naming


| label16      = [[Etymology]]
| label16      = [[w:Etymology|Etymology]]
| data16        = {{{etymology|}}}
| data16        = {{{etymology|}}}


| class17      = nickname
| class17      = nickname
| label17      = [[Nickname]]
| label17      = [[w:Nickname|Nickname]]
| data17        = {{{nickname|}}}
| data17        = {{{nickname|}}}


Line 140: Line 140:
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|city|city1|city2|city3|city4|city5|city6|city7|city8|city9|city10|city11|city12|city13|city14|city15|city16|city17|city18|settlement|settlement1|settlement2|settlement3|settlement4|settlement5|settlement6|settlement7|settlement8|settlement9|settlement10|settlement11|settlement12|settlement13|settlement14|settlement15|settlement16|settlement17|settlement18}}>1|[[Category:Pages using infobox mountain with multiple parameters|Settlement]]|}}}}
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|city|city1|city2|city3|city4|city5|city6|city7|city8|city9|city10|city11|city12|city13|city14|city15|city16|city17|city18|settlement|settlement1|settlement2|settlement3|settlement4|settlement5|settlement6|settlement7|settlement8|settlement9|settlement10|settlement11|settlement12|settlement13|settlement14|settlement15|settlement16|settlement17|settlement18}}>1|[[Category:Pages using infobox mountain with multiple parameters|Settlement]]|}}}}


| label34      = [[Geographic coordinate system|Range coordinates]]
| label34      = [[w: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_ref|{{{range_coordinates_note|}}}}}}|{{{range_coordinates_ref|{{{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
| label35      = [[Mountain range|{{nowrap|Parent range}}]]
| label35      = [[w:Mountain range|{{nowrap|Parent range}}]]
| data35        = {{{parent|{{{range|}}}}}}
| data35        = {{{parent|{{{range|}}}}}}


Line 151: Line 151:
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|borders_on|border|border1|border2|border3|border4|border5|border6|border7|border8}}>1|[[Category:Pages using infobox mountain with multiple parameters|Border]]|}}}}
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|borders_on|border|border1|border2|border3|border4|border5|border6|border7|border8}}>1|[[Category:Pages using infobox mountain with multiple parameters|Border]]|}}}}


| label37      = [[Ordnance Survey National Grid|OS grid]]
| label37      = [[w:Ordnance Survey National Grid|OS grid]]
| data37        = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}|name={{{name|{{PAGENAMEBASE}}}}} }}{{{grid_ref_UK_ref|{{{grid_ref_UK_note|}}}}}}}}
| data37        = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}|name={{{name|{{PAGENAMEBASE}}}}} }}{{{grid_ref_UK_ref|{{{grid_ref_UK_note|}}}}}}}}


| label38      = [[Irish grid reference system|OSI/OSNI grid]]
| label38      = [[w:Irish grid reference system|OSI/OSNI grid]]
| data38        = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}|name={{{name|{{PAGENAMEBASE}}}}} }}{{{grid_ref_Ireland_ref|{{{grid_ref_Ireland_note|}}}}}}}}
| data38        = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}|name={{{name|{{PAGENAMEBASE}}}}} }}{{{grid_ref_Ireland_ref|{{{grid_ref_Ireland_note|}}}}}}}}


| label39      = [[Topographic map|Topo map]]
| label39      = [[w:Topographic map|Topo map]]
| data39        = {{#if:{{{topo_maker|}}}|{{{topo_maker}}}&nbsp;}}{{if empty|{{{topo|}}}|{{{topo_map|}}} }}
| data39        = {{#if:{{{topo_maker|}}}|{{{topo_maker}}}&nbsp;}}{{if empty|{{{topo|}}}|{{{topo_map|}}} }}


| label40      = [[Biome]]
| label40      = [[w:Biome|Biome]]
| data40        = {{{biome|}}}
| data40        = {{{biome|}}}


| header42      = Geology
| header42      = Geology


| label43      = [[Mountain formation|Formed by]]
| label43      = [[w:Mountain formation|Formed by]]
| data43        = {{{formed_by|}}}
| data43        = {{{formed_by|}}}


| label44      = [[Orogeny]]
| label44      = [[w:Orogeny|Orogeny]]
| data44        = {{{orogeny|}}}
| data44        = {{{orogeny|}}}


| label45      = [[Geologic time scale|Age of rock]]
| label45      = [[w:Geologic time scale|Age of rock]]
| data45        = {{if empty|{{{age|}}}|{{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}}}}}}<!--
| data45        = {{if empty|{{{age|}}}|{{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}}}}}}<!--
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|age|period|period1|period2|period3|period4|period5}}>1|[[Category:Pages using infobox mountain with multiple parameters|Period]]|}}}}
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|age|period|period1|period2|period3|period4|period5}}>1|[[Category:Pages using infobox mountain with multiple parameters|Period]]|}}}}


| label46      = [[List of mountain types|Mountain type]]
| label46      = [[w:List of mountain types|Mountain type]]
| data46        = {{{mountain_type|{{{type|}}}}}}
| data46        = {{{mountain_type|{{{type|}}}}}}


| label47      = [[List of rock types|Type of rock]]
| label47      = [[w:List of rock types|Type of rock]]
| data47        = {{enum|{{{geology|}}}|{{{geology1|}}}|{{{geology2|}}}|{{{geology3|}}}|{{{geology4|}}}|{{{geology5|}}}|{{{rock|}}}}}<!--
| data47        = {{enum|{{{geology|}}}|{{{geology1|}}}|{{{geology2|}}}|{{{geology3|}}}|{{{geology4|}}}|{{{geology5|}}}|{{{rock|}}}}}<!--
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|geology|geology1|geology2|geology3|geology4|geology5|rock}}>1|[[Category:Pages using infobox mountain with multiple parameters|Geology]]|}}}}
-->{{main other|{{#ifexpr:{{#invoke:ParameterCount|main|geology|geology1|geology2|geology3|geology4|geology5|rock}}>1|[[Category:Pages using infobox mountain with multiple parameters|Geology]]|}}}}


| label48      = {{#if:{{{volcanic_region|}}}|Volcanic&nbsp;region
| label48      = {{#if:{{{volcanic_region|}}}|Volcanic&nbsp;region
                     | {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]]
                     | {{#if:{{{volcanic_arc|}}}|[[w:Volcanic arc|Volcanic arc]]
                           | {{#if:{{{volcanic_belt|}}}|[[Volcanic belt]]
                           | {{#if:{{{volcanic_belt|}}}|[[w:Volcanic belt|Volcanic belt]]
                               | {{#if:{{{volcanic_field|}}}|[[Volcanic field]]
                               | {{#if:{{{volcanic_field|}}}|[[w:Volcanic field|Volcanic field]]
                                   | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}}}}
                                   | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[w:Volcanic arc|Volcanic arc|arc]]/[[w:Volcanic belt|Volcanic belt|belt]]}}}}}}}}}}
| data48        = {{If empty|{{{volcanic_region|}}}|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}}
| data48        = {{If empty|{{{volcanic_region|}}}|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}}


| label49      = [[Types of volcanic eruptions|Last eruption]]
| label49      = [[w:Types of volcanic eruptions|Last eruption]]
| data49        = {{{last_eruption|}}}
| data49        = {{{last_eruption|}}}


| header50      = Climbing
| header50      = Climbing


| label51      = [[First ascent]]
| label51      = [[w:First ascent|First ascent]]
| data51        = {{{first_ascent|}}}
| data51        = {{{first_ascent|}}}


| label52      = [[Normal route|{{nowrap|Easiest route}}]]
| label52      = [[w:Normal route|{{nowrap|Easiest route}}]]
| data52        = {{{easiest_route|}}}
| data52        = {{{easiest_route|}}}


| label53      = [[Normal route]]
| label53      = [[w:Normal route|Normal route]]
| data53        = {{{normal_route|}}}
| data53        = {{{normal_route|}}}



Latest revision as of 01:28, 14 November 2024