Difference between revisions of "Template:Infobox"

From Ultronomicon
Jump to navigation Jump to search
m (6 more rows for now should work.)
m (More in style with the other.)
Line 7: Line 7:
 
Image
 
Image
 
-->{{#if:{{{image|}}}|
 
-->{{#if:{{{image|}}}|
<tr class="alternate-ignore"><td colspan="2" class="infoboxCentre"><div id="image1">{{{image}}}{{#if:{{{caption|}}}|<br /><span class="image-caption">{{{caption}}}</span>|}}</div></td></tr>
+
<tr class="alternate-ignore"><td colspan="2" class="infoboxCentre">{{{image}}}{{#if:{{{caption|}}}|<br /><span class="infoboxCaption">{{{caption}}}</span>|}}</td></tr>
 
|}}<!--
 
|}}<!--
 
Row 1
 
Row 1

Revision as of 22:51, 27 August 2012

Documentation for {{infobox}}

Use

For creating standardised infoboxes, easy and whatever.

Usage

{{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
}}