Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
header2 group + misc no longer used
meta>Rehman
newer caption code + remove redundant code
Line 12: Line 12:


| 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|}}}|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|}}}}}
| 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:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}
| 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}}}}}}


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


| 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|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/>{{If first display both|{{#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 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]]}}}}}}}}


| 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|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 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}}}}}


| 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|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 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}}}}}


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

Revision as of 09:03, 8 May 2020