Template:Infobox mountain: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tags: Manual revert 2017 source edit
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
| child        = {{{child|}}}
| child        = {{{child|}}}
| subbox        = {{{subbox|}}}
| subbox        = {{{subbox|}}}
| above        =  
| above        = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
| aboveclass    = fn org
| aboveclass    = fn org
| autoheaders  = y
| autoheaders  = y
| abovestyle    = background-color: #E7DCC3;
| abovestyle    = background-color: #E7DCC3;
| headerstyle = background-color: #E7DCC3;
| headerstyle   = background-color: #E7DCC3;
| imagestyle    = padding: 0.3em 0.2em 0.2em 0.2em;
| imagestyle    = padding: 0.3em 0.2em 0.2em 0.2em;
| captionstyle = padding: 0.2em 0em;
| captionstyle = padding: 0.2em 0em;
| bodystyle    = width:24.5em; line-height:1.5em;
| bodystyle    = width:24.5em; line-height:1.5em;


Line 15: Line 15:
| subheader    = {{{other_name|}}}
| subheader    = {{{other_name|}}}


| image        = {{#invoke:InfoboxImage
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}||size={{if empty|{{{photo_width|}}}|{{{photo_size|}}}}}|upright={{{photo_upright|}}}|sizedefault=272px|maxsize=288px|alt={{{photo_alt|}}}}}
|InfoboxImage
| caption      = {{#if:{{{photo|}}}|{{{photo_caption|}}}|{{#if:{{#invoke:WikidataIB|getValue|1=P18|2=|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}|{{#invoke:WikidataIB|getValue|1=P18|2=|name=caption|qid={{{qid|}}}|qual=P2096|qualsonly=true|rank=best|maxvals=1|ps=2}}}}}}
|image={{#invoke:WikidataIB
  |getValue
  |1=P18
  |2={{{photo|}}}
  |name=photo
  |qid={{{qid|}}}
  |rank=best
  |suppressfields={{{suppressfields|}}}
  |fetchwikidata={{{fetchwikidata
  |NONE}}}
  |onlysourced={{{onlysourced
  |false}}}
  |maxvals=1
  |noicon=true}}
  |size={{if empty
  |{{{photo_width|}}}
  |{{{photo_size|}}}
}}
|upright={{{photo_upright|}}}
|sizedefault=272px
|maxsize=288px
|alt={{{photo_alt|}}}
}}
| caption      = {{#if:{{{photo|}}}
|{{{photo_caption|}}}
|{{#if:{{#invoke:WikidataIB
  |getValue
  |1=P18
  |2=
  |name=photo
  |qid={{{qid|}}}
  |rank=best
  |suppressfields={{{suppressfields|}}}
  |fetchwikidata={{{fetchwikidata|NONE}}}
  |onlysourced={{{onlysourced|false}}}
  |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:{{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}|data26|data1}} = {{#if:{{{map|}}}
| {{#if:{{#invoke:WikidataIB|getValue|1=P18|2={{{photo|}}}|name=photo|qid={{{qid|}}}|rank=best|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|NONE}}}|onlysourced={{{onlysourced|false}}}|maxvals=1|noicon=true}}|data26|data1}} = {{#if:{{{map|}}}

Latest revision as of 22:34, 20 June 2024