Difference between revisions of "Template:RaceIconSmall"

m (Warwolf30 moved page RaceIconSmall to Template:RaceIconSmall without leaving a redirect)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
|terran
 
|t = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|t}}|{{HiddenSort|{{{hs}}}}}}}}}[[Image:Ticon_small.png|link=Terran]]
 
|zerg
 
|z = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|z}}|{{HiddenSort|{{{hs}}}}}}}}}[[Image:Zicon_small.png|link=Zerg]]
 
|protoss
 
|p = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|p}}|{{HiddenSort|{{{hs}}}}}}}}}[[Image:Picon_small.png|link=Protoss]]
 
 
|pp = [[Image:Picon_small.png|link=Protoss]][[Image:Picon_small.png|link=Protoss]]
 
|pp = [[Image:Picon_small.png|link=Protoss]][[Image:Picon_small.png|link=Protoss]]
 
|pt = [[Image:Picon_small.png|link=Protoss]][[Image:Ticon_small.png|link=Terran]]
 
|pt = [[Image:Picon_small.png|link=Protoss]][[Image:Ticon_small.png|link=Terran]]

Revision as of 09:15, 19 June 2015

(view - edit) Documentation

Display the small race icon or icons.

Template Inputs

For single races

Picon small.png Protoss
  • p
  • protoss
Ticon small.png Terran
  • t
  • terran
Zicon small.png Zerg
  • z
  • zerg

For pairs of two races

Picon.pngProtoss
  • pp Picon small.pngPicon small.png
  • pt Picon small.pngTicon small.png
  • pz Picon small.pngZicon small.png
Ticon.pngTerran
  • tp Ticon small.pngPicon small.png
  • tt Ticon small.pngTicon small.png
  • tz Ticon small.pngZicon small.png
Zicon.pngZerg
  • zp Zicon small.pngPicon small.png
  • zt Zicon small.pngTicon small.png
  • zz Zicon small.pngZicon small.png

Example

{{RaceIconSmall|tz}}

Ticon small.pngZicon small.png