Difference between revisions of "Template:Infobox"
From Anarchy Online Wiki [AOWiki]
Line 1: | Line 1: | ||
− | {| class="infobox bordered" style="width: 25em; text-align: left; font-size: | + | {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;" |
− | | | + | |+ style="font-size: larger;" | '''{{{name}}}''' |
− | |||
|- | |- | ||
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}} | | colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}} | ||
Line 13: | Line 12: | ||
! Data 3 (data hidden if data3 empty or not defined): | ! Data 3 (data hidden if data3 empty or not defined): | ||
| {{{data3|}}} | | {{{data3|}}} | ||
+ | |- {{#if:{{{data4|}}}| | ||
+ | ! Data 4 (row hidden by #if: if data4 empty): | ||
+ | <td>{{{data4}}} }} | ||
+ | |- {{#if:{{{na{{{data5|}}}me|}}}| | ||
+ | ! Data 5 (row hidden by #if: if name exists and data5 not empty): | ||
+ | <td>{{{data5}}} }} | ||
|- | |- | ||
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}} | | colspan="2" style="font-size: smaller;" | {{{footnotes|}}} |
Revision as of 14:23, 18 May 2007
[[Image:{{{image}}}|300px| ]] {{{caption}}} | |
Data 1: | {{{data1}}} |
---|---|
Data 2: | this text displayed if data2 not defined |
Data 3 (data hidden if data3 empty or not defined): | |
Data 4 (row hidden by #if: if data4 empty): | {{{data4}}} }} |
Data 5 (row hidden by #if: if name exists and data5 not empty): | {{{data5}}} }} |
Usage
Copy the source of this template (available from the view source link) and
paste it into a new blank page. Only the part up to, but not including, the tag
<noinclude>
is necessary.