Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
m (More in style with the other.) |
m |
||
Line 60: | Line 60: | ||
-->{{#if:{{{header25|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header25}}}</th></tr>|{{#if:{{{label25|}}}|{{#if:{{{data25|}}}|<tr><th>{{{label25}}}</th><td {{#if:{{{dataclass25|}}}| class="{{{dataclass25}}}"|}}>{{{data25}}}</td></tr>|}}|{{#if:{{{data25|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass25|}}}|{{{dataclass25}}}|}}">{{{data25}}}</td></tr>}}}}}}<!-- | -->{{#if:{{{header25|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header25}}}</th></tr>|{{#if:{{{label25|}}}|{{#if:{{{data25|}}}|<tr><th>{{{label25}}}</th><td {{#if:{{{dataclass25|}}}| class="{{{dataclass25}}}"|}}>{{{data25}}}</td></tr>|}}|{{#if:{{{data25|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass25|}}}|{{{dataclass25}}}|}}">{{{data25}}}</td></tr>}}}}}}<!-- | ||
Row 26 | Row 26 | ||
− | -->{{#if:{{{header26|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header26}}}</th></tr>|{{#if:{{{label26|}}}|{{#if:{{{data26|}}}|<tr><th>{{{label26}}}</th><td {{#if:{{{dataclass26|}}}| class="{{{dataclass26}}}"|}}>{{{data26}}}</td></tr>|}}|{{#if:{{{data26|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass26|}}}|{{{dataclass26}}}|}}">{{{data26}}}</td></tr>}}}}}} | + | -->{{#if:{{{header26|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header26}}}</th></tr>|{{#if:{{{label26|}}}|{{#if:{{{data26|}}}|<tr><th>{{{label26}}}</th><td {{#if:{{{dataclass26|}}}| class="{{{dataclass26}}}"|}}>{{{data26}}}</td></tr>|}}|{{#if:{{{data26|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass26|}}}|{{{dataclass26}}}|}}">{{{data26}}}</td></tr>}}}}}}<!-- |
+ | Row 27 | ||
+ | -->{{#if:{{{header27|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header27}}}</th></tr>|{{#if:{{{label27|}}}|{{#if:{{{data27|}}}|<tr><th>{{{label27}}}</th><td {{#if:{{{dataclass27|}}}| class="{{{dataclass27}}}"|}}>{{{data27}}}</td></tr>|}}|{{#if:{{{data27|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass27|}}}|{{{dataclass27}}}|}}">{{{data27}}}</td></tr>}}}}}}<!-- | ||
+ | Row 28 | ||
+ | -->{{#if:{{{header28|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header28}}}</th></tr>|{{#if:{{{label28|}}}|{{#if:{{{data28|}}}|<tr><th>{{{label28}}}</th><td {{#if:{{{dataclass28|}}}| class="{{{dataclass28}}}"|}}>{{{data28}}}</td></tr>|}}|{{#if:{{{data28|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass28|}}}|{{{dataclass28}}}|}}">{{{data28}}}</td></tr>}}}}}}<!-- | ||
+ | Row 29 | ||
+ | -->{{#if:{{{header29|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header29}}}</th></tr>|{{#if:{{{label29|}}}|{{#if:{{{data29|}}}|<tr><th>{{{label29}}}</th><td {{#if:{{{dataclass29|}}}| class="{{{dataclass29}}}"|}}>{{{data29}}}</td></tr>|}}|{{#if:{{{data29|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass29|}}}|{{{dataclass29}}}|}}">{{{data29}}}</td></tr>}}}}}}<!-- | ||
+ | Row 30 | ||
+ | -->{{#if:{{{header30|}}}|<tr class="alternate-reset"><th colspan="2" class="infoboxHeader">{{{header30}}}</th></tr>|{{#if:{{{label30|}}}|{{#if:{{{data30|}}}|<tr><th>{{{label30}}}</th><td {{#if:{{{dataclass30|}}}| class="{{{dataclass30}}}"|}}>{{{data30}}}</td></tr>|}}|{{#if:{{{data30|}}}|<tr><td colspan="2" class="infoboxCentre {{#if:{{{dataclass30|}}}|{{{dataclass30}}}|}}">{{{data30}}}</td></tr>}}}}}} | ||
</table></div></includeonly><noinclude>{{documentation}}</noinclude> | </table></div></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 12:35, 28 August 2012
Documentation for {{infobox}}
Use[edit]
For creating standardised infoboxes, easy and whatever.
Usage[edit]
{{infobox |above = Outside table (optional) |top = Top of infobox (but within) (optional) |title = Name or title of infobox |image = The image (optional) |caption = Caption (optional) |labelN = Label for dataN (optional) |dataN = Data (can be used with or without a label) |headerN = A section header }}