Template:Infobox/doc

Wiki Original =

Description
This template is a sample infobox, to aid in the creation of new infoboxes.

Recommended usage: copy the template code to a new template page, and edit it there.

Infobox and template background
See Help:Templates, Help:Infobox and Help:Tables for some background on how templates and infoboxes work.

Building blocks
The infobox is made of the following basic building blocks:


 * Overall table class:
 * Table heading cell class:
 * Use row header marks (" ") for row title cells (and " " for normal cells)
 * Section separator line: give the header below it a wrapping  with
 * Image cell class:
 * Image caption cell class:

Other notes

 * The Title, First, Second, and Third rows show "Unknown" if their values are not specified.
 * The Image, Imagecaption, Fourth, Fifth, and Sixth rows won't show up if their values are not specified: they are each completely enclosed in an 'if' statement.

Samples
Results in...

Watcher's Style|true = This is used for multi tab image with captions, like "Front" or "Back" for Gunpla, or "Formal" or "Casual" for Characters: |- style="text-align:center;"
 * colspan="2" |

This is used for hidden tags and slots in infoboxes, and will remain hidden until the contents are filled:

This is used for hidden Header boxes in infoboxes, and will remain hidden until one or two of the contents are filled |-

! colspan="2" style=";"|