Difference between revisions of "Template:Infobox/doc"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Created documentation.)
 
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
=== Usage ===
=== Usage ===
<pre>{{infobox
<pre>{{infobox
|top     = Before title
|top       = Before title
|title   = Title
|title     = Title
|image   = Image
|noimage    = yes/no (default: no) if yes, the infobox won't check for images.
|caption = Image text
|image     = Image
|headerN = Nth header
|caption   = Image text
|labelN = Nth label
|image2    = Alternate Image (optional, for cover art)
|dataN   = Nth data
|caption2  = Alternate Image text (optional, for cover art, defaults to caption)
|headerN   = Nth header
|labelN     = Nth label
|dataN     = Nth data
|dataclassN = Add a CSS class to Nth data.
}}</pre>
}}</pre>



Latest revision as of 14:35, 3 August 2009

Use

For creating infoboxes in a quick and standardised way.

Usage

{{infobox
|top        = Before title
|title      = Title
|noimage    = yes/no (default: no) if yes, the infobox won't check for images.
|image      = Image
|caption    = Image text
|image2     = Alternate Image (optional, for cover art)
|caption2   = Alternate Image text (optional, for cover art, defaults to caption)
|headerN    = Nth header
|labelN     = Nth label
|dataN      = Nth data
|dataclassN = Add a CSS class to Nth data.
}}

Example

Hi!
An infobox!
Infosphere.jpg
Pretty!
Label?Yes
A header!
Data alone! :O
Good dayBite me
HelloHi
{{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
}}