Template:Infobox/doc

Meta-template used for constructing infobox templates. Infoboxes are fixed-format tables designed to be added to the top right-hand corner of articles to consistently present a summary of the article content.

Up to 40 rows in as many groups with up to 4 columns each are supported. Every row can have a varying number of columns and groups can be made collapsible. Specific conditions can be specified for each row. In addition, the template supports up to 5 images in the main image area and dynamically calculates the appropriate width/height for each image.

Usage
{{Infobox
 * games             ={{{games|}}}
 * title             ={{{name|}}}
 * subtitle          ={{{subtitle|}}}
 * supertitle        =example
 * supertitle link   =examples
 * icon              ={{{icon|}}}
 * main image1       ={{{image|}}}
 * main image1 size  ={{{image size|}}}
 * main image desc   ={{{image desc|}}}
 * footer            ={{{footer|}}}
 * group1            ={{{group1|}}}
 * label1-1          ={{{label1|}}}
 * content1-2        ={{{content1|}}}

Most of the parameters should usually be passed down from the "end" infoboxes (i.e. the ones directly used in articles).

General explanations

 * A given row can contain either a, an   or   and   cells; these 3 options are mutually exclusive. For example, if you specify  ,   and  , only   will be shown. Order of priority:   >   >   >.
 * The layout for each row is generated automatically based on which cells are specified in the row itself and in the group it belongs to. It is possible to have rows with different column counts within the same group; the cells in the row with less columns will then span multiple columns, depending on exactly which columns are used in this row. For example, if one row in a given group has 4 columns and another has only 2, the layout of the second row will vary depending on which columns are used:
 * If the first and the last cell are used, the first cell (of the second row) will span columns 1, 2 and 3 (of the first row).
 * If the first and the second cell were used, the second cell will span columns 2, 3 and 4.
 * If the first and the third cell were used, the first cell will span columns 1 and 2 while the second cell will span columns 3 and 4.

Parameters
Terms used in the parameter descriptions:
 * |example = value Defined and not empty: A parameter is "defined and not empty" if it has been set to any value. In the example on the right, the parameter  is defined and not empty.
 * |example = Defined and empty: A parameter is "defined and empty" if it is present on the page but has been set to no value. In the example on the right, the parameter  is defined and empty.
 *  Defined and not empty: A parameter is "undefined" if it is not present on the page. In the example on the right, the parameter  is undefined.
 * |example = @word Magic word: Magic words are terms which - when set as a parameter value - have a special effect. They are usually prefixed with an "@" in order to differentiate them from normal parameter values. In the example on the right, the parameter  is set to the magic word "@word".

Style parameters
All  options should be used sparingly as they can lead to visual inconsistencies. Some examples of useful styles:
 * Changing background color:  (accepts HTML color names or RGB hex triplets)
 * Changing (horizontal) text-alignment:  (accepts "center", "justify", "left", "right")
 * Changing vertical text-alignment:  (accepts "bottom", "middle", "top")

Technical

 * This template is fairly complicated. Editing it requires a good understanding of parser functions and wiki syntax.
 * Auxiliary templates:
 * Abb: Turns abbreviations into game names.
 * Abblink: Generates links to overview pages based on abbreviations.
 * Infobox/aux: Generates a "content"/"label" row.
 * Infobox/aux2: Generates "group" tables and header rows.
 * Infobox/aux3: Generates an "image" row.
 * Extensions used:
 * ImageSizeInfoFunctions
 * Variables
 * Standardized documentation for templates based on this one:
 * Infobox/doc/standard