Difference between revisions of "Template:Class Limits"

From comp.tf
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Box|start}}
 
<includeonly>{{Box|start}}
* {{#if:{{{text|}}}|{{{text}}}|At any one time amongst {{#if:{{{hl}}}|nine|six}} players, class limits of:}}
+
* {{#if:{{{text|}}}|{{{text}}}|At any one time amongst {{#if:{{{hl|}}}|nine|{{#if:{{{7v7|}}}|seven|six}}}} players, class limits of:}}
 
** [[File:Scouticon.png|20px|link=Scout]] {{{scout}}}, [[File:Soldiericon.png|20px|link=Soldier]] {{{soldier}}}, [[File:Pyroicon.png|20px|link=Pyro]] {{{pyro}}}
 
** [[File:Scouticon.png|20px|link=Scout]] {{{scout}}}, [[File:Soldiericon.png|20px|link=Soldier]] {{{soldier}}}, [[File:Pyroicon.png|20px|link=Pyro]] {{{pyro}}}
 
** [[File:Demomanicon.png|20px|link=Demoman]] {{{demoman}}}, [[File:Heavyicon.png|20px|link=Heavy]] {{{heavy}}}, [[File:Engineericon.png|20px|link=Engineer]] {{{engineer}}}
 
** [[File:Demomanicon.png|20px|link=Demoman]] {{{demoman}}}, [[File:Heavyicon.png|20px|link=Heavy]] {{{heavy}}}, [[File:Engineericon.png|20px|link=Engineer]] {{{engineer}}}
 
** [[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>
 
** [[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>

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=
}}