Difference between revisions of "Template:RaceColor/doc"

From QWiki
m
Line 6: Line 6:
  
 
{|cellpadding="10"
 
{|cellpadding="10"
|style="background-color:{{RaceColor|z}};"|z
+
|style="background-color:{{RaceColor|z}};width:35px;text-align:center;padding:10px;"|z
|style="background-color:{{RaceColor|p}};"|p
+
|style="background-color:{{RaceColor|p}};width:35px;text-align:center;"|p
|style="background-color:{{RaceColor|r}};"|r
+
|style="background-color:{{RaceColor|r}};width:35px;text-align:center;"|r
|style="background-color:{{RaceColor|t}};"|t
+
|style="background-color:{{RaceColor|t}};width:35px;text-align:center;"|t
|style="background-color:{{RaceColor|bye}};"|bye
+
|style="background-color:{{RaceColor|bye}};width:35px;text-align:center;"|bye
  
 
|}
 
|}

Revision as of 04:21, 13 September 2017

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

Usage

{{RaceColor|x}} where x is the race name or initial letter. ie Zerg or t

Example

z p r t bye

Variables

  • Race p, r, t, z, protoss, random, terran, zerg and bye are possible.

Adapted from Liquipedia