Template:Size table/doc

This template is used within the Creature infobox for cases where a creature has different sizes, depending on form, subrace, life stage, etc. Intended for the,  ,  ,  , and   fields of Creature, it uses a standard format to display the information and automatically generates the appropriate size categories. If a creature has a different challenge rating for each of its sizes—which is usually the case—you will likely also want to make use of the similar CR table.

Usage
This template takes up to twelve label/size pairs, plus one optional parameter:
 * nocat : Optional Setting this to  will suppress the generation of categories. Used mainly for documentation pages like this one.

Examples
This is an example of the template being used with the Creature template. (Most parts of that template are not shown.)

The previous code will generate the following categories automatically:
 * Category:Tiny creatures
 * Category:Large creatures
 * Category:Huge creatures
 * Category:Animals
 * Category:Animals (3e)
 * Category:Creatures of neutral alignment
 * Category:Creatures with a challenge rating less than 1 (3e)
 * Category:Creatures with a 1 challenge rating (3e)
 * Category:Creatures with a 2 challenge rating (3e)

Under the Hood
This template uses SizeCats to generate categories and Split table to format the information.