Template:ColorStyle/doc

This template generates CSS background-color and color properties for a style attribute. This template should be used in cases where an element is colored based on an associated race or polity (using Template:ColorRace for background colors, and Template:ColorRace/foreground for foreground colors.)

Usage
The raceid parameter is not a parameter name. Substitute values for the parameter name directly.

Required Fields

 * raceid
 * Identical to valid values for Template:ColorRace.
 * Selects background and foreground colors from Template:ColorRace and Template:ColorRace/foreground.

Optional Fields

 * bgcolor
 * Overrides background color selected from Template:ColorRace.
 * This is a CSS color property.
 * fgcolor
 * Overrides background color selected from Template:ColorRace/foreground.
 * This is a CSS color property.