Difference between revisions of "Template:RaceColor"

From QWiki
m
m (Added beige)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
   |z
 
   |z
 +
  |red
 
   |zerg = rgb(242,184,184)
 
   |zerg = rgb(242,184,184)
 +
  |top
 +
  |up = rgb(221, 244, 221)
 +
  |stay
 +
  |same = rgb(249, 240, 199)
 
   |p
 
   |p
 +
  |green
 
   |protoss = rgb(184,242,184)
 
   |protoss = rgb(184,242,184)
 
   |t
 
   |t
 +
  |blue
 
   |terran = rgb(184,184,242)
 
   |terran = rgb(184,184,242)
 
   |r
 
   |r
 +
  |yellow
 
   |random = rgb(242,242,184)
 
   |random = rgb(242,242,184)
 +
  |wo
 
   |bye = rgb(221,221,221)
 
   |bye = rgb(221,221,221)
 
   |white = rgb(255,255,255)
 
   |white = rgb(255,255,255)
 
   |=
 
   |=
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:11, 19 May 2025

Documentation (view - edit)

This template gives the standard color of the race to use in tables brackets etc.

Usage

{{RaceColor|x}} where x is either of the following:

z p r t bye up stay

Trivia

  • Race is inherited from Starcraft, where p, t, z, (r,) are short for the 3 races: protoss, terran, zerg (and random).

Adapted from Liquipedia