Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
adding Wikidata code for length - switch NONE to ALL to enable
meta>Rehman
adding Wikidata code for width - switch NONE to ALL to enable
Line 69: Line 69:


| label12      = Width
| label12      = Width
| data12        = {{#if:{{{width|}}}|{{{width}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|<!--
| data12        = {{If first display both|{{If empty|{{{width|}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|{{Convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2049|2=|name=width|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2049}}}}}}}}|{{If last display both|&#32;|{{If empty|{{{width_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2049|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both|&#32;|{{{width_ref|{{{width_note|}}}}}}}}}}
                -->{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}} }} }}<!--
                -->{{#if:{{{width_km|}}}{{{width_mi|}}}{{{width|}}}<!--
                -->|{{#if:{{{width_orientation|}}}|&#32;{{{width_orientation}}} }}<!--
                -->{{#if:{{{width_note|}}}|&#8239;{{{width_note}}} }} }}


| label13      = Area
| label13      = Area

Revision as of 05:03, 27 May 2020