Difference between revisions of "Template:RaceColor/doc"

From QWiki
m
m (Updated with new colors)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This template gives the standard color of the race to use in tables brackets etc.
 
This template gives the standard color of the race to use in tables brackets etc.
 
===Usage===
 
===Usage===
<nowiki>{{RaceColor|x}}</nowiki> where x is the race name or initial letter. ie Zerg or t
+
<code><nowiki>{{RaceColor|x}}</nowiki></code> where x is either of the following:
 
 
===Example===
 
  
 
{|cellpadding="10"
 
{|cellpadding="10"
Line 11: Line 9:
 
|style="background-color:{{RaceColor|t}};width:35px;text-align:center;"|t
 
|style="background-color:{{RaceColor|t}};width:35px;text-align:center;"|t
 
|style="background-color:{{RaceColor|bye}};width:35px;text-align:center;"|bye
 
|style="background-color:{{RaceColor|bye}};width:35px;text-align:center;"|bye
 
+
|style="background-color:{{RaceColor|up}};width:35px;text-align:center;"|up
 +
|style="background-color:{{RaceColor|stay}};width:35px;text-align:center;"|stay
 
|}
 
|}
  
===Variables===
+
===Trivia===
*'''Race''' p, r, t, z, protoss, random, terran, zerg and bye are possible.
+
*'''Race''' is inherited from Starcraft, where p, t, z, (r,) are short for the 3 races: protoss, terran, zerg (and random).
  
 
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:RaceColor Liquipedia]
 
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:RaceColor Liquipedia]

Latest revision as of 08:20, 19 May 2025

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