Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
new WikidataIB code for highest and highest_location
meta>Rehman
new WikidataIB code for elevation and elevation_system and elevation_ref
Line 44: Line 44:


| 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|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#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|1=P2044|2=|qid={{{qid|}}}|qual=P459|qualsonly=Y|ps=1}}|<br/>{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation_system|qid={{{qid|}}}|qual=P459|qualsonly=Y|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|noicon=false}}|{{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|1=P2044|2=|name=elevation|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=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|}}}|P2044}}}}}}}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|&#8239;{{{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|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|maxvals=1|noicon=false}}}}


| label5        = [[Topographic prominence|Prominence]]
| label5        = [[Topographic prominence|Prominence]]

Revision as of 08:54, 17 May 2020