Template:ColorRace/doc

This template is used by other templates to automatically pick colors based on the race/organization selected.

If using ColorRace and ColorRace/foreground to choose background and foreground colors for elements, consider using the helper template Template:ColorStyle instead.

When adding a new raceid color to ColorRace, add a suitable foreground color for that raceid to Template:ColorRace/foreground as well.

Usage
The parameters are not preceded by parameter names. Substitute values for the parameter names directly.

Required Fields

 * raceid
 * The following indicates the values and their associated colors.

Optional Fields

 * defaultcolor
 * The color used if raceid does not match any of the default.
 * This is a CSS color property.
 * overridecolor
 * If set this color will always be used.
 * This is a CSS color property.