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

From comp.tf
Jump to navigation Jump to search
(Undo revision 8167 by Maxim (talk))
m
Line 1: Line 1:
 
<noinclude>{{Template:Class Weapon Table Header}}</noinclude>|-
 
<noinclude>{{Template:Class Weapon Table Header}}</noinclude>|-
 
! align="center" rowspan="2" | [[Image:{{{imgname}}}|link=http://wiki.teamfortress.com/wiki/{{{wikilink}}}]]<br /><small>'''{{{itemquality}}}'''</small><br />'''[[{{{weaponname}}}]]'''
 
! align="center" rowspan="2" | [[Image:{{{imgname}}}|link=http://wiki.teamfortress.com/wiki/{{{wikilink}}}]]<br /><small>'''{{{itemquality}}}'''</small><br />'''[[{{{weaponname}}}]]'''
| align="center" {{#switch: {{{cevo6s}}}
+
| align="center" height="5px" {{#switch: {{{cevo6s}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevo6sref}}}|name="cevo6sref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevo6sref}}}|name="cevo6sref"}}
 
}}
 
}}
| align="center" {{#switch: {{{esea6s}}}
+
| align="center" height="5px" {{#switch: {{{esea6s}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}}
 
}}
 
}}
| align="center" {{#switch: {{{etf2l6s}}}
+
| align="center" height="5px" {{#switch: {{{etf2l6s}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}}
 
}}
 
}}
| align="center" {{#switch: {{{ozf6s}}}
+
| align="center" height="5px" {{#switch: {{{ozf6s}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}}
 
}}
 
}}
| align="center" {{#switch: {{{ugc6s}}}
+
| align="center" height="5px" {{#switch: {{{ugc6s}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
 
}}
 
}}
| align="center" {{#switch: {{{cevoHL}}}
+
| align="center" height="5px" {{#switch: {{{cevoHL}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevoHLref}}}|name="cevoHLref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{cevoHLref}}}|name="cevoHLref"}}
 
}}
 
}}
| align="center" {{#switch: {{{etf2lHL}}}
+
| align="center" height="5px" {{#switch: {{{etf2lHL}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2lHLref}}}|name="etf2lHLref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{etf2lHLref}}}|name="etf2lHLref"}}
 
}}
 
}}
| align="center" {{#switch: {{{ozfHL}}}
+
| align="center" height="5px" {{#switch: {{{ozfHL}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozfHLref}}}|name="ozfHLref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ozfHLref}}}|name="ozfHLref"}}
 
}}
 
}}
| align="center" {{#switch: {{{ugcHL}}}
+
| align="center" height="5px" {{#switch: {{{ugcHL}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugcHLref}}}|name="ugcHLref"}}
 
| maybe = bgcolor="yellow" {{!}} <font color="black"> Depends</font> {{#tag:ref|{{{ugcHLref}}}|name="ugcHLref"}}
 
}}
 
}}
| align="center" {{#switch: {{{wireHL}}}
+
| align="center" height="5px" {{#switch: {{{wireHL}}}
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| true = bgcolor="lightgreen" {{!}} <font color="black"> Allowed </font>
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
 
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  

Revision as of 09:22, 14 December 2013

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:{{{imgname}}}|link=http://wiki.teamfortress.com/wiki/{{{wikilink}}}]]
{{{itemquality}}}
[[{{{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" align="center" height="5px" align="center" height="5px" align="center" height="5px"
{{{description}}}

This is a test version of a template for the construction of a row in a Class' weapons table. 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
itemquality = The item quality, one of Stock/Unlock/Craft/Drop... (DO NOT INCLUDE PROMOTIONAL ITEMS
              UNLESS THEY ARE NOT RESKINS AND OR ARE SIGNIFICANTLY DIFFERENT TO THE ORIGINAL ITEM.)
wikilink = name of the page on the official wiki, that is http://wiki.teamfortress.com/wiki/<this_part_here>
           This will be the link you are sent to when you click on the weapon image.
imgname = A 128px image. The filename of the weapon's image in the wiki.
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'.

cevo6s -> CEVO 6v6
esea6s -> ESEA 6v6
etf2l6s -> ETF2L 6v6
ozf6s -> ozfortress 6v6
ugc6s -> UGC 6v6
cevoHL -> CEVO Highlander
etf2lHL -> ETF2L Highlander
ozfHL -> ozfortress Highlander
ugcHL -> UGC Highlander
wireHL -> Wireplay Highlander

Usage


{{Template:Class Weapon Table Row
|weaponname = Natascha
|itemquality = Stock
|wikilink = Brass_Beast
|imgname = 128px-Fists.png
|description = This is a competitively focused description about the weapon. Stats which can be pulled off of the official wiki are not needed. We need information on how this weapon is used in competitive tf2.
|cevo6s = true
|esea6s = true
|etf2l6s = maybe
|etf2l6sref = If you're not a baddie.
|ozf6s = maybe
|ozf6sref = Must be Level 10+
|ugc6s = false
|cevoHL = false
|etf2lHL = maybe
|etf2lHLref = this is a test description of why this item has certain conditions associated with its use in this league.
|ozfHL = true
|ugcHL = true
|wireHL = false
}}

Displays

128px-Fists.png
Stock
Natascha
Allowed Allowed Depends [1] Depends [2] Banned Banned Depends [3] Allowed Allowed Banned
SEY! SEY!

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.