Difference between revisions of "Template:Class Limits"

From comp.tf
Jump to navigation Jump to search
m
m (Inspired by comp.tf user Garlic)
Line 1: Line 1:
 
<includeonly>{{Box|start}}
 
<includeonly>{{Box|start}}
*{{{scout}}}x {{class|scout}} [[Scout]]
+
* Classlimits of:
*{{{soldier}}}x {{class|soldier}} [[Soldier]]
+
** [[File:Scouticon.png|20px|link=Scout]] {{scout}}, [[File:Soldiericon.png|20px|link=Soldier]] {{soldier}}, [[File:Pyroicon.png|20px|link=Pyro]] {{pyro}}
*{{{pyro}}}x {{class|pyro}} [[Pyro]]
+
** [[File:Demomanicon.png|20px|link=Demoman]] {{demoman}}, [[File:Heavyicon.png|20px|link=Heavy]] {{heavy}}, [[File:Engineericon.png|20px|link=Engineer]] {{engineer}}
{{Box|break}}
+
** [[File:Medicicon.png|20px|link=Medic]] {{medic}} [[File:Snipericon.png|20px|link=Sniper]] {{sniper}}, [[File:Spyicon.png|20px|link=Spy]] {{spy}}{{Box|end}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
*{{{demoman}}}x {{class|demoman}} [[Demoman]]
 
*{{{heavy}}}x {{class|heavy}} [[Heavy]]
 
*{{{engineer}}}x {{class|engineer}} [[Engineer]]
 
{{Box|break}}
 
*{{{medic}}}x {{class|medic}} [[Medic]]
 
*{{{sniper}}}x {{class|sniper}} [[Sniper]]
 
*{{{spy}}}x {{class|spy}} [[Spy]]{{Box|end}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
 

Revision as of 23:55, 1 December 2015

(view - edit) Documentation

Use

To specify how many of each class is allowed, usually on pages that are on tied to a tournament series.
|scout=
To specify the number of scouts allowed.
|soldier=
To specify the number of soldiers allowed.
|pyro=
To specify the number of pyros allowed.
|demoman=
To specify the number of demomen allowed.
|heavy=
To specify the number of heavies allowed.
|engineer=
To specify the number of engineers allowed.
|medic=
To specify the number of medics allowed.
|sniper=
To specify the number of snipers allowed.
|spy=
To specify the number of spys allowed.
|hl=
Changes the context to fit a highlander format.

Example

{{Class Limits
|scout=2
|soldier=2
|pyro=2
|demoman=1
|heavy=1
|engineer=1
|medic=1
|sniper=1
|spy=2
}}

gives:

Copy/Paste

{{Class Limits
|text=
|scout=
|soldier=
|pyro=
|demoman=
|heavy=
|engineer=
|medic=
|sniper=
|spy=
|hl=
}}