Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
imported>Netoholic |
imported>Netoholic (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> |
Revision as of 07:13, 7 January 2006
[[Template:{{{image}}}|300px| ]] {{{caption}}} | |
Data 1: | {{{data1}}} |
---|---|
Data 2 (data hidden if data2 empty): | |
Data 3 (row hidden if data3 empty): | {{{data3}}} |
{{{footnotes}}} |
Usage
Copy this code
{| class="infobox bordered" style="width: 25em; text-align: left;" |+ style="font-size: larger | '''{{{name}}}''' |- | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}} |- ! Data 1: | {{{data1}}} |- ! Data 2 (data hidden if data2 empty): | {{{data2|}}} |- class="hiddenStructure{{{data3|}}}" ! Data 3 (row hidden if data3 empty): | {{{data3}}} |- | colspan="2" style="font-size:smaller;" | {{{footnotes}}} |}