Template:ColorRace
This template is used by other templates to automatically pick colors based on the race selected.
Usage[edit]
{{ColorRace|raceid|defaultcolor|overridecolor}}
The parameters are not preceded by parameter names. Substitute values for the parameter names directly.
Required Fields[edit]
- raceid
- The following indicates the values and their associated colors.
| Color | Value(s) |
|---|---|
| #00C000 |
|
| #3264C8 |
|
| #C0C0C0 |
|
| #FEC423 |
|
- defaultcolor
- The color used if raceid does not match any of the default values.
- If using hex triplet (eg. #000000) the # must be replaced with
#.
Optional Fields[edit]
- overridecolor
- If set this color will always be used.
- If using hex triplet (eg. #000000) the # must be replaced with
#.