Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
| above = <includeonly>{{{title|{{#if:{{#invoke:WikidataIB|label}}|{{#invoke:WikidataIB|label}}|{{PAGENAMEBASE}}}}}}}</includeonly> | | above = <includeonly>{{{title|{{#if:{{#invoke:WikidataIB|label}}|{{#invoke:WikidataIB|label}}|{{PAGENAMEBASE}}}}}}}</includeonly> | ||
+ | <!-- Disabled for now since uploading doesn't work | ||
<!-- Image --> | <!-- Image --> | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|border={{{border|}}}|suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|border={{{border|}}}|suppressplaceholder=yes}} | ||
| captionstyle = font-size: 95%; | | captionstyle = font-size: 95%; | ||
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|{{#invoke:WikidataIB|getValue|P18|qual=P2096|qualsonly=y|fwd=ALL}}}}}}} | | caption = {{#if:{{{image|}}}|{{{caption|}}}|{{{caption|{{#invoke:WikidataIB|getValue|P18|qual=P2096|qualsonly=y|fwd=ALL}}}}}}} | ||
+ | --> | ||
<!-- Start of content --> | <!-- Start of content --> |
Revision as of 04:01, 10 October 2020
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid= |suppressfields= |fetchwikidata=ALL |onlysourced=no |noicon=yes|}}|size=|sizedefault=frameless|upright=1|alt=|border=|suppressplaceholder=yes}}
| captionstyle = font-size: 95%;
| caption = {{#invoke:WikidataIB|getValue|P18|qual=P2096|qualsonly=y|fwd=ALL}}
-->
| label2 = Developer(s) | data2 = Template:If first display both
</includeonly>
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |