Difference between revisions of "Template:Class"

From comp.tf
Jump to navigation Jump to search
Line 11: Line 11:
 
|d={{#switch:{{lc:{{{1|}}} }}
 
|d={{#switch:{{lc:{{{1|}}} }}
 
       |demo
 
       |demo
   |demoman  = [[Image:demomanicon.png| Demomen|link=:Category:Demomen]]
+
   |demoman  = [[Image:demomanicon.png|Demomen|link=:Category:Demomen]]
 
   }}
 
   }}
 
|h={{#switch:{{lc:{{{1|}}} }}
 
|h={{#switch:{{lc:{{{1|}}} }}
Line 23: Line 23:
 
   |medic    = [[Image:medicicon.png| Medics|link=:Category:Medics]]
 
   |medic    = [[Image:medicicon.png| Medics|link=:Category:Medics]]
 
   }}
 
   }}
}}<noinclude><br />
+
}}}}<noinclude>
 
Adds a class icon to player pages.
 
Adds a class icon to player pages.
  
 
== Usage ==
 
== Usage ==
<pre>{{class|demo}}</pre>
+
<pre>{{class|scout}}</pre>
 
wields:
 
wields:
{{class|demoman}}
+
{{class|scout}}
</noinclude>
+
 
 +
 
 +
[[Category:Templates]]</noinclude>

Revision as of 19:41, 25 August 2013

Adds a class icon to player pages.

Usage

{{class|scout}}

wields: Scouts