Difference between revisions of "Template:Infobox/doc"
Jump to navigation
Jump to search
(Created documentation.) |
m (→Usage) |
||
Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
<pre>{{infobox | <pre>{{infobox | ||
|top | |top = Before title | ||
|title | |title = Title | ||
|image | |image = Image | ||
|caption = Image text | |caption = Image text | ||
|headerN = Nth header | |headerN = Nth header | ||
|labelN | |labelN = Nth label | ||
|dataN | |dataN = Nth data | ||
|dataclassN = Add a CSS class to Nth data. | |||
}}</pre> | }}</pre> | ||
Revision as of 02:44, 14 April 2009
Use
For creating infoboxes in a quick and standardised way.
Usage
{{infobox |top = Before title |title = Title |image = Image |caption = Image text |headerN = Nth header |labelN = Nth label |dataN = Nth data |dataclassN = Add a CSS class to Nth data. }}
Example
Hi! | |
An infobox! | |
---|---|
Label? | Yes |
A header! | |
Data alone! :O | |
Good day | Bite me |
Hello | Hi |
{{infobox |top = Hi! |title = An infobox! |image = [[Image:Infosphere.jpg|225px]] |caption = Pretty! |label1 = Label? |data1 = Yes |header2 = A header! |data3 = Data alone! :O |label4 = Good day |data4 = Bite me |label5 = Hello |data5 = Hi }}