Difference between revisions of "Template:Infobox/doc"
Jump to navigation
Jump to search
(+JavaScript) |
m (→JavaScript) |
||
Line 16: | Line 16: | ||
}}</pre> | }}</pre> | ||
− | === | + | === CSS === |
− | + | Minor CSS update: | |
− | <pre> | + | <pre>.infobox th, |
− | + | .infobox td { | |
− | + | vertical-align: top; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}</pre> | }</pre> |
Revision as of 15:53, 28 August 2012
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 }}
CSS
Minor CSS update:
.infobox th, .infobox td { vertical-align: top; }