Template:UnitBox

This infobox displays gameplay information for both units and structures.

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

Replacing a Building, Unit or Structure Template
If you've been asked to change a Building,  Unit or  Structure template then:
 * 1) Copy the blank unitbox (below) into the page
 * 2) Copy the parameter values from the old template to the new UnitBox template code. Please check the defunct template's code to see which value is assigned to which parameter. E.g. the following means you should copy whatever value is currently assigned to "function" parameter in the page that uses the old template and assign it to "role" parameter in the new UnitBox template code. |role =  You can find the template code below, click the defunct template you've been asked to change:
 * 3) [ Building]
 * 4) [ Unit]
 * 5) [ Structure]
 * 6) Remove the old template code from the page
 * 7) Do not remove any blank or unused parameters from the UnitBox template code. This is to expedite any future expansion.

Optional Fields
The following are some notes on optional fields.
 * imgsize
 * Manually sets the width of image, otherwise image uses its default size of.
 * Requires units to be set. 200px is a valid entry. 200 is not.
 * useguns
 * The unit's armament in lore.
 * usearmor
 * The unit's armor in lore.
 * structure
 * Set to any value to mark the unit as a structure,
 * notes
 * For any misc information
 * margin
 * To change the margins for custom layouts