Template:Infobox/doc

Description
This template is intended as a meta template, a template used for constructing other templates. In general, it is not meant for use directly in an article but can be used on a one-off basis if required.

Usage
is a meta-template, used to produce an template like Template:Infobox/Location.

Parameters
There are some general 'styling' parameters, some 'title' and subtitle parameters, some 'image' parameters', and then parameters for each of the 80 possible 'rows'

Style

 * bodyclass
 * bodystyle

Title

 * title
 * titleclass
 * titlestyle
 * above
 * aboveclass
 * abovestyle
 * subheader
 * subheaderclass
 * subheaderstyle

Image

 * image
 * imageclass
 * imagestyle
 * caption
 * captionstyle

For all rows

 * headerstyle
 * labelstyle
 * datastyle

For specific rows
For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')
 * headerN
 * labelN
 * dataN
 * classN

Building a hard-coded Infobox
This usage is presented primarily for illustrative purposes; creating use-case-specific infobox templates with standardized styles is preferred.



On the Template page
Using a hypothetical Template:ExampleInfobox/Person as an example, template code can specify the hard-coded headers, labels, and styles, as well as the TemplateData parameters that will allow wiki editors to define the data values for each specific page where the Infobox is used.

On the Template/doc page
Template:ExampleInfobox/Person/doc will define the TemplateData parameters that editors can use to populate each page using the infobox with information unique to the page:

On the Character page
An editor working on a Character page can now use the template via the following code, to populate values into the standard Character Infobox with all the hard-coded layouts styles and labels from the Character Infobox Template applied: