Difference between revisions of "Template:RaceIconSmall"

(Created page with "{{#switch:{{lc:{{{1}}}}} |terran |t = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|t}}|{{HiddenSort|{{{hs}}}}}}}}}link=Terran |zerg |z = {{#if:{...")
 
Line 6: Line 6:
 
|protoss
 
|protoss
 
|p = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|p}}|{{HiddenSort|{{{hs}}}}}}}}}[[Image:Picon_small.png|link=Protoss]]
 
|p = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|p}}|{{HiddenSort|{{{hs}}}}}}}}}[[Image:Picon_small.png|link=Protoss]]
|random
 
|r = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|zr}}|{{HiddenSort|{{{hs}}}}}}}}} [[Image:Ricon_small.png|link=Random]]
 
        |r(p) = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|zrp}}|{{HiddenSort|{{{hs}}}}}}}}} [[Image:R(P)icon_small.png|link=Random]]
 
        |r(t) = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|zrt}}|{{HiddenSort|{{{hs}}}}}}}}} [[Image:R(T)icon_small.png|link=Random]]
 
        |r(z) = {{#if:{{{hs|}}}|{{#ifeq:{{{hs|1}}}|1|{{HiddenSort|zrz}}|{{HiddenSort|{{{hs}}}}}}}}} [[Image:R(Z)icon_small.png|link=Random]]
 
 
|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]]
 
|pz = [[Image:Picon_small.png|link=Protoss]][[Image:Zicon_small.png|link=Zerg]]
 
|pz = [[Image:Picon_small.png|link=Protoss]][[Image:Zicon_small.png|link=Zerg]]
|pr = [[Image:Picon_small.png|link=Protoss]][[Image:Ricon_small.png|link=Random]]
 
 
|tp = [[Image:Ticon_small.png|link=Terran]][[Image:Picon_small.png|link=Protoss]]
 
|tp = [[Image:Ticon_small.png|link=Terran]][[Image:Picon_small.png|link=Protoss]]
 
|tt = [[Image:Ticon_small.png|link=Terran]][[Image:Ticon_small.png|link=Terran]]
 
|tt = [[Image:Ticon_small.png|link=Terran]][[Image:Ticon_small.png|link=Terran]]
 
|tz = [[Image:Ticon_small.png|link=Terran]][[Image:Zicon_small.png|link=Zerg]]
 
|tz = [[Image:Ticon_small.png|link=Terran]][[Image:Zicon_small.png|link=Zerg]]
|tr = [[Image:Ticon_small.png|link=Terran]][[Image:Ricon_small.png|link=Random]]
 
 
|zp = [[Image:Zicon_small.png|link=Zerg]][[Image:Picon_small.png|link=Protoss]]
 
|zp = [[Image:Zicon_small.png|link=Zerg]][[Image:Picon_small.png|link=Protoss]]
 
|zt = [[Image:Zicon_small.png|link=Zerg]][[Image:Ticon_small.png|link=Terran]]
 
|zt = [[Image:Zicon_small.png|link=Zerg]][[Image:Ticon_small.png|link=Terran]]
 
|zz = [[Image:Zicon_small.png|link=Zerg]][[Image:Zicon_small.png|link=Zerg]]
 
|zz = [[Image:Zicon_small.png|link=Zerg]][[Image:Zicon_small.png|link=Zerg]]
|zr = [[Image:Zicon_small.png|link=Zerg]][[Image:Ricon_small.png|link=Random]]
 
|rp = [[Image:Ricon_small.png|link=Random]][[Image:Picon_small.png|link=Protoss]]
 
|rt = [[Image:Ricon_small.png|link=Random]][[Image:Ticon_small.png|link=Terran]]
 
|rz = [[Image:Ricon_small.png|link=Random]][[Image:Zicon_small.png|link=Zerg]]
 
|rr = [[Image:Ricon_small.png|link=Random]][[Image:Ricon_small.png|link=Random]]
 
 
}}<noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 
}}<noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Revision as of 08:55, 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