Jump to content

Template:Infobox: Difference between revisions

no edit summary
(add infobox template category)
No edit summary
Line 1: Line 1:
<includeonly>{{checktemplate|name}}
<includeonly>{{checktemplate|name}}
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
{| class="infobox" style="width:44em;"
{| class="infobox" style="width: 25em; text-align: left;"
! colspan="2" style="font-size:larger;" | {{{name}}}
|+ <big>'''{{{name}}}'''</big>
|-
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 1:'''
! Data 1:
| {{{data 1}}}
| {{{data 1}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 2:'''
! Data 2:
| {{{data 2}}}
| {{{data 2}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
! Data 3 (hidden if empty):
| {{{data 3}}}
| {{{data 3}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
Line 19: Line 19:
<br style="clear:both;" />
<br style="clear:both;" />
<pre>
<pre>
{| class="infobox" style="width:22em;"
Copy this code:
! colspan="2" style="font-size:larger;" | {{{name}}}
 
{| class="infobox" style="width: 25em; text-align: left;"
|+ <big>'''{{{name}}}'''</big>
|-
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 1:'''
! Data 1:
| {{{data 1}}}
| {{{data 1}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| '''Data 2:'''
! Data 2:
| {{{data 2}}}
| {{{data 2}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
! Data 3 (hidden if empty):
| {{{data 3}}}
| {{{data 3}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"