Template:Infobox: Difference between revisions
update
No edit summary |
(update) |
||
Line 1: | Line 1: | ||
{| class="infobox bordered" style="width: 25em; text-align: left;" | |||
|+ style="font-size: larger | '''{{{name}}}''' | |||
{| class="infobox" style="width: 25em; text-align: left;" | |||
|+ | |||
|- | |- | ||
| colspan="2" style="text-align:center;" | {{{image}}}<br | | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}} | ||
|- | |- | ||
! Data 1: | ! Data 1: | ||
| {{{ | | {{{data1}}} | ||
|- | |- | ||
! Data 2: | ! Data 2 (data hidden if data2 empty): | ||
| {{{ | | {{{data2|}}} | ||
|- class="hiddenStructure{{{ | |- class="hiddenStructure{{{data3|}}}" | ||
! Data 3 (hidden if empty): | ! Data 3 (row hidden if data3 empty): | ||
| {{{ | | {{{data3}}} | ||
|- | |- | ||
| colspan="2" style="font-size:smaller;" | {{ | | colspan="2" style="font-size:smaller;" | {{{footnotes}}} | ||
|} | |}<noinclude> | ||
== Usage == | |||
Copy this code | |||
<pre> | <pre> | ||
{| class="infobox bordered" style="width: 25em; text-align: left;" | |||
|+ style="font-size: larger | '''{{{name}}}''' | |||
{| class="infobox" style="width: 25em; text-align: left;" | |||
|+ | |||
|- | |- | ||
| colspan="2" style="text-align:center;" | {{{image}}}<br | | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}} | ||
|- | |- | ||
! Data 1: | ! Data 1: | ||
| {{{ | | {{{data1}}} | ||
|- | |- | ||
! Data 2: | ! Data 2 (data hidden if data2 empty): | ||
| {{{ | | {{{data2|}}} | ||
|- class="hiddenStructure{{{ | |- class="hiddenStructure{{{data3|}}}" | ||
! Data 3 (hidden if empty): | ! Data 3 (row hidden if data3 empty): | ||
| {{{ | | {{{data3}}} | ||
|- | |- | ||
| colspan="2" style="font-size:smaller;" | {{ | | colspan="2" style="font-size:smaller;" | {{{footnotes}}} | ||
|} | |} | ||
</pre> | </pre> | ||
[[Category:infobox templates|{{PAGENAME}}]] | [[Category:infobox templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |