Template:ColorRace

From MegaGlest
Revision as of 01:55, 16 December 2009 by Trappin (talk) (Required Fields)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • magic
#3264C8
  • tech
#C0C0C0
  • human
  • tech
#FEC423
  • magic
  • 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 #.