Difference between revisions of "Template:Otherclass"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#if:{{{1|}}}|{{#switch: {{padleft:|1|{{lc:{{{1|}}}}} }}
 
{{#if:{{{1|}}}|{{#switch: {{padleft:|1|{{lc:{{{1|}}}}} }}
 
|s={{#switch:{{lc:{{{1|}}} }}
 
|s={{#switch:{{lc:{{{1|}}} }}
   |scout    = [[Image:scouticon.png|10px| Scouts|link=:Category:Scouts]]
+
   |scout    = [[Image:scouticon.png| Scouts|link=:Category:Scouts]]
   |soldier  = [[Image:soldiericon.png|10px| Soldiers|link=:Category:Soldiers]]
+
   |soldier  = [[Image:soldiericon.png| Soldiers|link=:Category:Soldiers]]
   |sniper  = [[Image:snipericon.png|10px| Snipers|link=:Category:Snipers]]
+
   |sniper  = [[Image:snipericon.png| Snipers|link=:Category:Snipers]]
   |spy      = [[Image:spyicon.png|10px| Spies|link=:Category:Spies]]
+
   |spy      = [[Image:spyicon.png| Spies|link=:Category:Spies]]
 
   }}
 
   }}
 
|p={{#switch:{{lc:{{{1|}}} }}
 
|p={{#switch:{{lc:{{{1|}}} }}
   |pyro    = [[Image:pyroicon.png|10px| Pyros|link=:Category:Pyros]]
+
   |pyro    = [[Image:pyroicon.png| Pyros|link=:Category:Pyros]]
 
   }}
 
   }}
 
|d={{#switch:{{lc:{{{1|}}} }}
 
|d={{#switch:{{lc:{{{1|}}} }}
 
       |demo
 
       |demo
   |demoman  = [[Image:demomanicon.png|10px|Demomen|link=:Category:Demomen]]
+
   |demoman  = [[Image:demomanicon.png|Demomen|link=:Category:Demomen]]
 
   }}
 
   }}
 
|h={{#switch:{{lc:{{{1|}}} }}
 
|h={{#switch:{{lc:{{{1|}}} }}
   |heavy    = [[Image:heavyicon.png|10px| Heavy|link=:Category:Heavies]]
+
   |heavy    = [[Image:heavyicon.png| Heavy|link=:Category:Heavies]]
 
   }}
 
   }}
 
|e={{#switch:{{lc:{{{1|}}} }}
 
|e={{#switch:{{lc:{{{1|}}} }}
 
       |engi
 
       |engi
   |engineer = [[Image:engineericon.png|10px| Engineer|link=:Category:Engineers]]
+
   |engineer = [[Image:engineericon.png| Engineer|link=:Category:Engineers]]
 
   }}
 
   }}
 
|m={{#switch:{{lc:{{{1|}}} }}
 
|m={{#switch:{{lc:{{{1|}}} }}
   |medic    = [[Image:medicicon.png|10px| Medics|link=:Category:Medics]]
+
   |medic    = [[Image:medicicon.png| Medics|link=:Category:Medics]]
 
   }}
 
   }}
 
}}}}<noinclude>
 
}}}}<noinclude>

Revision as of 05:01, 4 October 2013

Gives the ability to add a second class to player pages (usually a second main) after their name and in a smaller size.

Usage

{{otherclass|scout}}

wields: Scouts