Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rehman
adding Wikidata code for photo - switch NONE to ALL to enable
meta>Rehman
amend photo_caption to work with photo
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      = {{{photo_caption|}}}
| 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}}}}}}


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

Revision as of 06:27, 8 May 2020