Template:Infobox: Difference between revisions

Template page
m (regrettably for IE and Dillo it is simply not possible to hide a parameter if undefined (only if empty))
m (218 revisions imported: Imported from https://en.wikipedia.org/w/)
 
(195 intermediate revisions by 55 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:22em;"
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
! colspan="2" style="font-size:larger;" | {{{name}}}
{{documentation}}
|-
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
</noinclude>
|- style="vertical-align:top;"
| '''Data 1:'''
| {{{data 1}}}
|- style="vertical-align:top;"
| '''Data 2:'''
| {{{data 2}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
| {{{data 3}}}
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
|}
<br style="clear:both;" />
<pre>
{| class="infobox" style="width:22em;"
! colspan="2" style="font-size:larger;" | {{{name}}}
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
|- style="vertical-align:top;"
| '''Data 1:'''
| {{{data 1}}}
|- style="vertical-align:top;"
| '''Data 2:'''
| {{{data 2}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
| {{{data 3}}}
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
|}
</pre>

Latest revision as of 14:41, 1 November 2023

{{#invoke:Infobox|infobox}} This page has been transcluded from Template:Infobox/Documentation.


Template:Infobox/Documentation