Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
-stray space +uppercase hex
meta>Rehman
match order of WikidataIB + trim for better readability
Line 15: Line 15:
| subheader    = {{{other_name|}}}
| subheader    = {{{other_name|}}}


| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|none}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|no}}}|name=photo|noicon=true|maxvals=1}}|size={{#if:{{{photo_size|{{{photo_width|}}}}}}|{{{photo_size|{{{photo_width|}}}}}}|300px}}|upright=1|alt={{{photo_alt|}}}}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|none}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|no}}}|maxvals=1|noicon=true}}|size={{#if:{{{photo_size|{{{photo_width|}}}}}}|{{{photo_size|{{{photo_width|}}}}}}|300px}}|upright=1|alt={{{photo_alt|}}}}}
| caption      = {{#if:{{{photo|}}}|{{{photo_caption|}}}|{{#if:{{#invoke:WikidataIB|getValue|1=P18|2=|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|none}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|no}}}|name=photo|noicon=true|maxvals=1}}|{{#invoke:WikidataIB|getValue|1=P18|2=|qid={{{qid|}}}|qual=P2096|qualsonly=true|name=caption|maxvals=1|ps=2}}}}}}
| caption      = {{#if:{{{photo|}}}|{{{photo_caption|}}}|{{#if:{{#invoke:WikidataIB|getValue|1=P18|2=|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|none}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|no}}}|maxvals=1|noicon=true}}|{{#invoke:WikidataIB|getValue|1=P18|2=|name=caption|qid={{{qid|}}}|qual=P2096|qualsonly=true|rank=best|maxvals=1|ps=2}}}}}}


| {{#if:{{{photo|}}}|data26|data1}} = {{#if:{{{map|}}}
| {{#if:{{{photo|}}}|data26|data1}} = {{#if:{{{map|}}}
Line 44: Line 44:


| 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|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|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 />"}}|{{#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|1=P2044|2=|qual=P459|qualsonly=Y|qid={{{qid|}}}|ps=1}}|<br/>{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|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 />"}}|{{Main other|[[Category:Infobox mountain using Wikidata value for elevation_system]]}}}}}}}}
| data4        = {{If empty|{{{elevation|}}}|{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{Convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|}}|{{If first display both|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#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|1=P2044|2=|qid={{{qid|}}}|qual=P459|qualsonly=Y|ps=1}}|<br/>{{If first display both|{{#invoke:WikidataIB|getValue|1=P2044|2=|name=elevation_system|qid={{{qid|}}}|qual=P459|qualsonly=Y|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|linked=true|shortname=true|maxvals=1|noicon=false}}|{{Main other|[[Category:Infobox mountain using Wikidata value for 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|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2660|2=|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 />"}}|{{#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 empty|{{{prominence|}}}|{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{Convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|}}|{{If first display both|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2660|2=|name=prominence|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#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}}}}}


| label6        = [[Topographic isolation|Isolation]]
| label6        = [[Topographic isolation|Isolation]]
| data6        = {{If empty|{{{isolation|}}}|{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{Convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|}}|{{If first display both|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2659|2=|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 />"}}|{{#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 empty|{{{isolation|}}}|{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{Convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|}}|{{If first display both|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2659|2=|name=isolation|qid={{{qid|}}}|rank=best|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|onlysourced={{{onlysourced|no}}}|unitabbr=true|convert=true|maxvals=1|noicon=false}}|{{#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}}}}}


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

Revision as of 06:18, 9 May 2020