Template:UnitBox/doc

This template displays the game statistics for units and buildings. Use this in conjunction with Template:CharBox and Template:VehicleBox to provide both lore and game information.

Usage
Copy and paste the following into the article and fill in the fields.

Optional Fields
The following are some notes on optional fields.
 * game
 * Determines categorization.
 * Use SC2 to sort the article into StarCraft II categories.
 * bgcolor
 * Manually sets the background color of the header text.
 * If using hex triplet (ex. #000000) the # must be replaced with  .
 * fgcolor
 * Manually sets the foreground color of the header text.
 * If using hex triplet (ex. #000000) the # must be replaced with  .
 * imgsize
 * Manually sets the width of image, otherwise image uses its default size.
 * Requires units to be set. 200px is a valid entry. 200 is not.
 * race
 * Should be Human, Infested Terran, Protoss, Terran, or Zerg.
 * Determines which supply term, supply icon, and vespene gas icon to use.
 * Determines which StarCraft unit category to sort the article.
 * If Human, nocat must be active and categories specified manually.
 * If categorization is used the argument is case-sensitive.
 * structure
 * Flags that this unit is a building. Changes the categorization.
 * hero
 * Set to any value to sort the article into a hero unit category.
 * campaign
 * Set to any value to sort the article into a campaign unit category.
 * npc
 * Set to any value to sort the article into an NPC unit category.
 * cancel
 * Set to any value to sort the article into a cancelled unit category.
 * nocat
 * Set to any value to disable automatic categorization.
 * concatbott
 * Set this to an non-empty value to remove the top margin and border of the box. This allows the box to be attached to another box from the top.
 * The box being attached should have an option to remove its bottom margin and border.
 * Also prevents name and race was being displayed.
 * concattop
 * Set this to an non-empty value to remove the bottom margin and border of the box. This allows the box to be attached to another box from the bottom.