Template:Infobox lighthouse: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Jc86035
m (don't show wikidata stuff if turned off)
>FDMS4
m (image_width param functionality)
Line 4: Line 4:
| title = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{item|}}}}}|{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{item|}}}}}|{{PAGENAMEBASE}}}}}}}
| title = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{item|}}}}}|{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{item|}}}}}|{{PAGENAMEBASE}}}}}}}


| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue |P18 |name=image_name|qid={{{item|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image_name|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue |P18 |name=image_name|qid={{{item|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image_name|}}}}}|size={{{image_width|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}



Revision as of 17:06, 9 September 2017

Infobox lighthouse
CoordinatesTemplate:WikidataCoord