Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
elevation was already enabled prior
meta>Rehman
new WikidataIB code for prominence and prominence_ref
Line 47: Line 47:


| 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|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2660|2=|name=prominence|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|}}}|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|1=P2660|2=|name=prominence|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|}}}|P2660}}}}}}}}{{#if:{{{prominence_ref|}}}|&#8239;{{{prominence_ref|}}}}}


| label6        = [[Topographic isolation|Isolation]]
| label6        = [[Topographic isolation|Isolation]]

Revision as of 09:14, 17 May 2020