Difference between revisions of "Template:RaceColor/doc"

From QWiki
m
m
 
(One intermediate revision 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 14: Line 12:
 
|}
 
|}
  
===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 06:27, 13 September 2017

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

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