Template:AssignSizeCategory/doc

Description
This template is not intended to be used on pages, but rather on the Infobox Creature template. It can be thought of as a support function (for those familiar with Python) or a support method (for those familiar with Java) whereas Infobox Creature is the main function or method.

If a user inputs a size for a creature in the Infobox Creature template, the Infobox Creature template will implement the AssignSizeCategory template. The AssignSizeCategory template will take the user-inputted size and test if it is a valid size for 5th Edition Dungeons and Dragons. If the size is valid, the template will automatically add a size categorization to the creature's page.

Valid 5th Edition Sizes
In order from smallest to largest: ''Note: Fine, Diminutive, and Colossal creatures do not exist in 5th Edition Dungeons and Dragons despite existing in popular previous editions such as 3.5e. If you attempt to input "Fine" or "Diminutive", the template will regard it as "Tiny". If you attempt to input "Colossal", the template will regard it as "Gargantuan".''
 * Tiny (e.g. pixie)
 * Small (e.g. halfling)
 * Medium (e.g. elf)
 * Large (e.g. minotaur)
 * Huge
 * Gargantuan

Other Category Support Templates

 * Template:AssignActiveCategory
 * Template:AssignChallengeCategory
 * Template:AssignDietCategory