Difference between revisions of "Template:Class"
Jump to navigation
Jump to search
(Created page with "{{#if:{{{1|}}}|{{#switch: {{padleft:|1|{{lc:{{{1|}}}}} }} |s={{#switch:{{lc:{{{1|}}} }} |scout = Scouts|link=:Category:Scouts |soldier = I...") |
|||
(4 intermediate revisions by 3 users not shown) | |||
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| Scouts|link=:Category:Scouts]] | + | |scout = [[Image:scouticon.png| Scouts|20px|link=:Category:Scouts]] |
− | |soldier = [[Image:soldiericon.png| Soldiers|link=:Category:Soldiers]] | + | |soldier = [[Image:soldiericon.png| Soldiers|20px|link=:Category:Soldiers]] |
− | |sniper = [[Image:snipericon.png| Snipers|link=:Category:Snipers]] | + | |sniper = [[Image:snipericon.png| Snipers|20px|link=:Category:Snipers]] |
− | |spy = [[Image:spyicon.png| Spies|link=:Category:Spies]] | + | |spy = [[Image:spyicon.png| Spies|20px|link=:Category:Spies]] |
}} | }} | ||
|p={{#switch:{{lc:{{{1|}}} }} | |p={{#switch:{{lc:{{{1|}}} }} | ||
− | |pyro = [[Image:pyroicon.png| Pyros|link=:Category:Pyros]] | + | |pyro = [[Image:pyroicon.png| Pyros|20px|link=:Category:Pyros]] |
}} | }} | ||
|d={{#switch:{{lc:{{{1|}}} }} | |d={{#switch:{{lc:{{{1|}}} }} | ||
|demo | |demo | ||
− | |demoman = [[Image:demomanicon.png| Demomen|link=:Category:Demomen]] | + | |demoman = [[Image:demomanicon.png|Demomen|20px|link=:Category:Demomen]] |
}} | }} | ||
|h={{#switch:{{lc:{{{1|}}} }} | |h={{#switch:{{lc:{{{1|}}} }} | ||
− | |heavy = [[Image:heavyicon.png| Heavy|link=:Category:Heavies]] | + | |heavy = [[Image:heavyicon.png| Heavy|20px|link=:Category:Heavies]] |
}} | }} | ||
|e={{#switch:{{lc:{{{1|}}} }} | |e={{#switch:{{lc:{{{1|}}} }} | ||
|engi | |engi | ||
− | |engineer = [[Image:engineericon.png| Engineer|link=:Category:Engineers]] | + | |engineer = [[Image:engineericon.png| Engineer|20px|link=:Category:Engineers]] |
}} | }} | ||
|m={{#switch:{{lc:{{{1|}}} }} | |m={{#switch:{{lc:{{{1|}}} }} | ||
− | |medic = [[Image:medicicon.png| Medics|link=:Category:Medics]] | + | |medic = [[Image:medicicon.png| Medics|20px|link=:Category:Medics]] |
}} | }} | ||
− | }} | + | }}}}<noinclude> |
− | |||
− | }}< | ||
− | |||
Adds a class icon to player pages. | Adds a class icon to player pages. | ||
== Usage == | == Usage == | ||
− | <pre>{{class| | + | <pre>{{class|scout}}</pre> |
− | + | yields: | |
− | {{class| | + | {{class|scout}} |
+ | |||
+ | |||
+ | [[Category:Template]]</noinclude> |