Difference between revisions of "Template:Class Limits"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly>{{Box|start}} *{{{scout}}}x {{class|scout}} Scout *{{{soldier}}}x {{class|soldier}} Soldier *{{{pyro}}}x {{class|pyro}} Pyro {{Box|break}} *{{{demoman...")
 
m
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{Box|start}}
 
<includeonly>{{Box|start}}
*{{{scout}}}x {{class|scout}} [[Scout]]
+
* {{#if:{{{text|}}}|{{{text}}}|At any one time amongst {{#if:{{{hl|}}}|nine|{{#if:{{{7v7|}}}|seven|six}}}} players, class limits 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>
 

Latest revision as of 19:05, 27 November 2016

(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:

  • At any one time amongst six players, class limits of:
    • Scouticon.png 2, Soldiericon.png 2, Pyroicon.png 2
    • Demomanicon.png 1, Heavyicon.png 1, Engineericon.png 1
    • Medicicon.png 1, Snipericon.png 1, Spyicon.png 2

Copy/Paste

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