FANDOM


Template documentation (for the above template, sometimes hidden or invisible)

Usage

{{Color|<color>|<text>}}

Identical to wikipedia:Template:Color, except the following strings result in a different color when passed as the first parameter:

  • community
  • dlc
  • event
  • infamous
  • negative
  • positive
  • mod
  • money
  • exp
  • skill
  • aced
  • stealth
  • projob
  • value
  • common
  • uncommon
  • rare
  • epic
  • legendary

Predefined colors are preferred because they can be overridden for dark/light site skin compatibility.

Examples

  • {{Color|red|Red text}}Red text
  • {{Color|infamous|Dallas Begins}}Dallas Begins
  • {{Color|#e9967a|Dark Salmon Injustice}}Dark Salmon Injustice
  • {{Color|rgb(216, 190, 216)|Color 216-190-216}}Color 216-190-216
  • {{Color|rgba(216, 190, 216, .5)|Color 216-190-216-05}}Color 216-190-216-05
  • {{Color|hsl(200, 100%, 50%)|Color 200, 100%, 50%}}Color 200, 100%, 50%
  • {{Color|hsla(200, 100%, 50%, .5)|Color 200, 100%, 50%, 0.5}}Color 200, 100%, 50%, 0.5

Visit Template:Color/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.