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
Tag: 2017 source edit
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass    = vcard
| bodyclass    = vcard
| child        = {{child|}}
| child        = {{{child|}}}
| subbox        = {{subbox|}}
| subbox        = {{{subbox|}}}
| above        =  
| above        =  
| 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;


| subheaderclass= nickname
| subheaderclass= nickname
| subheader    = {{other_name|}}
| subheader    = {{{other_name|}}}


| image        =
| image        = {{#invoke:InfoboxImage
| caption      =
|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|}}}
}}
| 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|}}}

Revision as of 22:08, 20 June 2024