Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
switch on Wikidata pen icons
meta>Rehman
seems like a issue in the code
Line 46: Line 46:


| label4  = [[Summit|Elevation]]
| label4  = [[Summit|Elevation]]
| data4    = {{If empty|{{{elevation|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|P2044|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{elevation|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2044}}}}}}<includeonly>{{Main other|[[Category:Infobox mountain using Wikidata value for elevation]]}}</includeonly>}}{{#if:{{{elevation_ref|{{{elevation_note|}}}}}}|&#8239;{{{elevation_ref|{{{elevation_note|}}}}}}}}{{If empty|{{#if:{{{elevation_system|}}}|<br/>{{{elevation_system|}}}}}|{{#if:{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|ps=1}}|<br/>{{#invoke:WikidataIB|getValue|P2044|qual=P459|qualsonly=Y|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=elevation_system|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{elevation_system|}}}}}{{Main other|[[Category:Infobox mountain using Wikidata value for elevation_system]]}}}}|}}
| data4    = {{#if:{{{elevation|}}}|{{{elevation|}}}
            | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}}}}}}<!--
            -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}}|&#8239;{{if empty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!--
            -->{{#if:{{{elevation_system|}}}|&#32;{{{elevation_system}}}}}


| 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|{{#invoke:WikidataIB|getValue|P2660|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=prominence|onlysourced={{{onlysourced|no}}}|linked=false|unitabbr=true|convert=true|maxvals=1|sorted=true|noicon=false|sep="<br />"|{{{prominence|}}}}}|{{#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:{{{prominence|}}}|{{{prominence|}}}
            |{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|{{convert|input=P2660}}}}}}<!--
            -->{{#if:{{{prominence_ref|}}}|&#8239;{{{prominence_ref}}} }}


| label6  = [[Topographic isolation|Isolation]]
| label6  = [[Topographic 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=false|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}}}}}
| data6    = {{#if:{{{isolation|}}}|{{{isolation|}}}
            |{{#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 07:26, 7 May 2020

ElevationP2044
ProminenceP2660
IsolationP2659