Template:UnitAgmtBox/doc

This template creates an infobox for unit augmentations (eg. abilities and upgrades).

Required
The following fields must be filled. The rest are optional.


 * racecolor
 * Sets the background color based on a race's name.
 * This is a raceid value as defined in Template:ColorRace
 * Overrides race for header colors.
 * game
 * Should be SC1, or SC2
 * Determines icons
 * race
 * Should be Human, Infested Terran, Protoss, Terran, or Zerg
 * Determines header colors and icons
 * desc
 * A description of the augmentation. May be used to describe all effects

Optional
The following are some notes on optional fields.


 * template
 * The page name of the template; include namespace
 * Creates shortcut links to the template for easy retrieval and editing
 * bgcolor
 * Manually sets the background color of the header text.
 * fgcolor
 * Manually sets the foreground color of the header text.
 * 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.
 * usepassive
 * Set to any value to activate
 * Displays a label indicating the augmentation's effects are passive
 * usetime
 * The time needed for the augmentation to take effect
 * useduration
 * The time that the effect lasts
 * campacqvendor
 * The campaign object that the augmentation may be acquired from
 * Must be used before campacqprice may be activated
 * acqtiers
 * A list of Template:UnitAgmtBox/acq sections
 * Template:UnitAgmtBox/acq has its own race and game parameters that must be filled separately.

One acquisition tier
The name parameter of the single Template:UnitAgmtBox/acq is left empty.

Multiple acquisition tiers
Each Template:UnitAgmtBox/acq segments is identified by its name argument.