Difference between revisions of "Template:Class Weapon Table Row"

From comp.tf
Jump to navigation Jump to search
m (Changing colour scheme)
m (Making "Always" text black)
Line 11: Line 11:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugc4s}}}|name="ugc4s"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugc4s}}}|name="ugc4s"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{ugc6s}}}
 
| align="center" height="5px" {{#switch: {{{ugc6s}}}
Line 17: Line 17:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{etf2l6s}}}
 
| align="center" height="5px" {{#switch: {{{etf2l6s}}}
Line 23: Line 23:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{esea6s}}}
 
| align="center" height="5px" {{#switch: {{{esea6s}}}
Line 29: Line 29:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{ozf6s}}}
 
| align="center" height="5px" {{#switch: {{{ozf6s}}}
Line 35: Line 35:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
  
Line 42: Line 42:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugchlref}}}|name="ugchlref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{ugchlref}}}|name="ugchlref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{etf2lhl}}}
 
| align="center" height="5px" {{#switch: {{{etf2lhl}}}
Line 48: Line 48:
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="#ff6961" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{etf2lhlref}}}|name="etf2lhlref"}}
 
| maybe = bgcolor="#fdfd96" {{!}} Depends {{#tag:ref|{{{etf2lhlref}}}|name="etf2lhlref"}}
| always = bgcolor="#aec6cf" {{!}} <font color="white"> Always </font>
+
| always = bgcolor="#aec6cf" {{!}} Always
 
}}
 
}}
 
|-
 
|-

Revision as of 05:00, 26 February 2016

Weapon 4v4 6v6 Highlander
UGC-Icon2.png UGC United Nations Global Whitelist RGL Icon.png RGL UGC-Icon2.png UGC RGL Icon.png RGL ETF2L-Icon2.png ETF2L
[[Image:{{{weaponname}}}.png|120px|link=http://wiki.teamfortress.com/wiki/{{{weaponname}}}]]
[[{{{weaponname}}}]]
align="center" height="5px" align="center" height="5px" align="center" height="5px" align="center" height="5px" align="center" height="5px" align="center" height="5px" align="center" height="5px"
{{{description}}}

Must be used with Template:Class Weapon Table Header and Template:Class Weapon Table End for it to look as desired. See Template:Class Weapon Table Header for an example.

How it works

For each league, you can choose whether a weapon appears to be allowed, banned, or selectively allowed.

Please study the Usage example;

The values 'true', 'false', 'maybe' denote whether a weapon is allowed, not allowed, or selectively allowed in a specific league. For the leagues designated 'maybe' (sometimes allowed), you add another item below it with the letters 'ref' after the name of the league. You can then specify a reason for why that weapon is sometimes allowed in that league, that will be found in the references section of that page. If there is no references section, create one or the template will fail. To create a references section in any given page, insert

<references />

on a new line at the bottom of a page. Unless there are actual references to other articles, or posts or pages, give the section the heading 'Notes'.

Variables

weaponname = name of the weapon
description = Information about the usage of the weapon. Strategy info.

For the following fields, type:
true, if the weapon is allowed in that league,
false, if the weapon is not allowed.
maybe, if the weapon is selectively allowed.

For the leagues designated 'maybe' (sometimes allowed),
you add another item below it with the letters 'ref' after the name of the league.
You can then specify a reason for why that weapon is sometimes allowed in that league,
that will be found in the references section of that page.
See Usage for an example of how to use 'maybe'.

ugc4s -> UGC 4v4
ugc6s -> UGC 6v6
etf2l6s -> ETF2L 6v6
esea6s -> ESEA 6v6
ozf6s -> ozfortress 6v6
ugchl -> UGC Highlander
etf2lhl -> ETF2L Highlander

Usage


{{Template:Class Weapon Table Row
|weaponname = Natascha
|description = INFO HERE! INFO HERE!
|ugc4s = false
|ugc6s = false
|etf2l6s = maybe
|etf2l6sref = If you're not a baddie.
|esea6s = true
|ozf6s = maybe
|ozf6sref = Must be Level 10+
|ugchl = true
|etf2lhl = maybe
|etf2lhlref = this is a test description of why this item has certain conditions associated with its use in this league.
}}

Displays

Natascha.png
Natascha
Banned Banned Depends [1] Allowed Depends [2] Allowed Depends [3]
INFO HERE! INFO HERE!

Notes

  1. If you're not a baddie.
  2. Must be Level 10+
  3. this is a test description of why this item has certain conditions associated with its use in this league.