Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
default terms for image
meta>Rehman
new WikidataIB code for highest and highest_location
Line 41: Line 41:


| label3        = Peak
| label3        = Peak
| data3        = {{If first display both|{{If empty|{{{highest|}}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|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/>{{If empty|{{{highest_location|}}}|{{#invoke:WikidataIB|getValue|1=P2044|2=|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]]}}}}}}
| 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={{{onlysourced|false}}}|noicon=false}}|{{If last display both|,<br/>|{{#invoke:WikidataIB|getValue|1=P2044|2={{{highest_location|}}}|name=highest_location|qid={{{qid|}}}|qual=P276|qualsonly=Y|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|qshortname=true|noicon=false}}}}}}


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

Revision as of 08:50, 17 May 2020