Difference between revisions of "Template:Class Limits"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>{{Box|start}}
 
<includeonly>{{Box|start}}
* Classlimits of:
+
* {{#if:{{{text|}}}|{{{text}}}|Classlimits 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>

Revision as of 23:59, 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:

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