Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
Wikidata code for prominence while supporting separate metric and imperial parameters
meta>Rehman
Wikidata code for isolation while supporting separate metric and imperial parameters
Line 52: Line 52:


| label6  = [[Topographic isolation|Isolation]]
| label6  = [[Topographic isolation|Isolation]]
| data6    = {{#if:{{{isolation|}}}|{{{isolation|}}}
| data6    = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_m|}}}{{{isolation_ft|}}}|{{Convinfobox|{{{isolation_m|}}}|m|{{{isolation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|P2659|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=isolation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=ture|sep="<br />"|{{{isolation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2659}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for isolation]]}}</includeonly>}}{{#if:{{{isolation_ref|}}}|&#8239;{{{isolation_ref}}}}}{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}}}}
            |{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|{{convert|input=P2659}}}}}}<!--
            -->{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}} }}<!--
            -->{{#if:{{{isolation_ref|}}}|&#8239;{{{isolation_ref}}} }}


| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]
| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]

Revision as of 03:43, 7 May 2020