Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
Wikidata code for highest - switch NONE to ALL to enable
meta>Rehman
ifempty has to be used due to the tracking categories - these can be removed once the tracking categories become obsolete
Line 41: Line 41:


| label3        = Peak
| label3        = Peak
| 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]]}}}}
| 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]]}}}}}}


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

Revision as of 10:22, 9 May 2020

Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.