Template:Infobox/doc

Usage
This template is used to create an infobox. Generally, this template is used in other templates instead of being directly used on pages.

Title parameters
Content within the uppermost cell of the table. Generally used as the title of the infobox.
 * above

Additional title field below above, but before any images in the infobox.
 * subheader

Example:

Image parameters
Used to display an image. Use full image syntax, for example.
 * image

Caption underneath the image.
 * caption

Example:

Main data parameters
Up to 80 of each of these parameters are supported by this template.

Content of a header in row (n). Headers are bolded and centered.
 * header(n)

Content of a label in row (n). Labels are bolded and to the left. They will appear under a corresponding header. The corresponding data is needed for this parameter to work.
 * label(n)

Content of the data in row (n). Data appears to the right of the corresponding label, no label makes the data centered. They will appear under a corresponding header.
 * data(n)

Examples:

Using two label and data parameters, with no header parameters.

Using three label and data parameters with headers.

A data parameter without a corresponding label parameter.

Below parameter
Content in the bottom cell.
 * below

Example:

CSS styling parameters
Applies to the infobox as a whole.
 * bodystyle

Applies to the above cell only. The default size uses, since this parameter is usually used for a title. If you want to use this cell for regular-sized text, include  in this parameter.
 * abovestyle

Applies to the subheader cell only.
 * subheaderstyle

Applies to the cell the image is in. Also applies to the caption as well.
 * imagestyle

Applies to the text of the image caption.
 * captionstyle

Applies to all headers in the infobox.
 * headerstyle

Applies to all label cells.
 * labelstyle

Applies to all data cells.
 * datastyle

Applies only to the below cell.
 * belowstyle

HTML class parameters
This parameter is inserted into the  attribute for the infobox as a whole.
 * bodyclass

This parameter is inserted into the  attribute for the above cell.
 * aboveclass

This parameter is inserted into the  attribute for the subheader cell.
 * subheaderclass

This parameter is inserted into the  attribute for the image.
 * imageclass

This parameter is inserted into the  attribute for the data cell of the specified row. It is ignored if the corresponding data(n) cell does not exist.
 * class(n)

Credits
This template's code was taken from Wikipedia:WikiProject Transwiki/Template:Infobox on Wikipedia. Parts of this template's documentation were taken from Template:Infobox/doc on Wikipedia.