Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
match order of WikidataIB + trim for better readability
meta>Rehman
Wikidata code for highest - switch NONE to ALL to enable
Line 41: Line 41:


| label3        = Peak
| label3        = Peak
| data3        = {{{highest|}}}{{#if:{{{highest_location|}}}| ({{{highest_location|}}}) }}
| data3        = {{If first display both|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest|}}}|name=highest|qid={{{qid|}}}|qual=P2561|qualsonly=Y|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2044}}}}{{Main other|[[Category:Infobox mountain using Wikidata value for highest]]}}}}|,<br/>{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest_location|}}}|name=highest_location|qid={{{qid|}}}|qual=P276|qualsonly=Y|rank=best|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|noicon=false}}{{Main other|[[Category:Infobox mountain using Wikidata value for highest_location]]}}}}


| label4        = [[Summit|Elevation]]
| label4        = [[Summit|Elevation]]

Revision as of 06:21, 9 May 2020