Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
restore style as of March 4
meta>Rehman
rechecked and added code for length - length_note to be deprecated
Line 67: Line 67:


| label11      = Length
| label11      = Length
| data11        = {{#if:{{{length|}}}|{{{length}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|<!--
| data11        = {{If first display both|{{If empty|{{{length|}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|{{Convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}}|}}|{{If first display both|{{#invoke:WikidataIB|getValue|1=P2043|2=|name=length|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|suppressfields={{{suppressfields|}}}|onlysourced={{{onlysourced|false}}}|unitabbr=true|convert=true|noicon=false}}|{{#ifeq:{{{refs|no}}}|yes|{{Wikidata|references|normal+|{{{qid|}}}|P2043}}}}}}}}|{{If last display both|&#32;|{{If empty|{{{length_orientation|}}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q36477|nomatch=}}|Q36477|(NS)|}}|{{#ifeq:{{#invoke:String|match|s={{#invoke:WikidataIB|getQualifierIDs|1=P2043|2=|qid={{{qid|}}}|fwd=ALL|osd=n|qlist=P7469}}|pattern=Q34027|nomatch=}}|Q34027|(EW)|}}}}}}{{If last display both|&#32;|{{{length_ref|{{{length_note|}}}}}}}}}}
                -->{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}} }} }}<!--
                -->{{#if:{{{length_km|}}}{{{length_mi|}}}{{{length|}}}|<!--
                -->{{#if:{{{length_orientation|}}}|&#32;{{{length_orientation}}} }}<!--
                -->{{#if:{{{length_note|}}}|&#8239;{{{length_note}}} }} }}


| label12      = Width
| label12      = Width

Revision as of 04:51, 1 June 2020