Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
Wikidata code for isolation while supporting separate metric and imperial parameters
meta>Rehman
switch on Wikidata pen icons
Line 46: Line 46:


| 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|P2044|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{elevation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2044}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for elevation]]}}</includeonly>}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|&#8239;{{{elevation_ref|{{{elevation_note|}}}}}}}}{{If empty|{{#if:{{{elevation_system|}}}|<br/>{{{elevation_system|}}}}}|{{#if:{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|ps=1}}|<br/>{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation_system|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{elevation_system|}}}}}{{Main other|[[Category:Infobox mountain using Wikidata value for elevation_system]]}}}}|}}
| data4    = {{If empty|{{{elevation|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|P2044|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{elevation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2044}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for elevation]]}}</includeonly>}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|&#8239;{{{elevation_ref|{{{elevation_note|}}}}}}}}{{If empty|{{#if:{{{elevation_system|}}}|<br/>{{{elevation_system|}}}}}|{{#if:{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|ps=1}}|<br/>{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation_system|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{elevation_system|}}}}}{{Main other|[[Category:Infobox mountain using Wikidata value for elevation_system]]}}}}|}}


| label5  = [[Topographic prominence|Prominence]]
| label5  = [[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|P2660|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=prominence|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{prominence|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2660}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for prominence]]}}</includeonly>}}{{#if:{{{prominence_ref|}}}|&#8239;{{{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|P2660|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=prominence|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{prominence|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2660}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for prominence]]}}</includeonly>}}{{#if:{{{prominence_ref|}}}|&#8239;{{{prominence_ref}}}}}


| label6  = [[Topographic isolation|Isolation]]
| label6  = [[Topographic isolation|Isolation]]
| data6    = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_m|}}}{{{isolation_ft|}}}|{{Convinfobox|{{{isolation_m|}}}|m|{{{isolation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|P2659|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=isolation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=ture|sep="<br />"|{{{isolation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for isolation]]}}</includeonly>}}{{#if:{{{isolation_ref|}}}|&#8239;{{{isolation_ref}}}}}{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}}}}
| data6    = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_m|}}}{{{isolation_ft|}}}|{{Convinfobox|{{{isolation_m|}}}|m|{{{isolation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|P2659|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=isolation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{isolation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for isolation]]}}</includeonly>}}{{#if:{{{isolation_ref|}}}|&#8239;{{{isolation_ref}}}}}{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}}}}


| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]
| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]

Revision as of 03:44, 7 May 2020