Editing Template:Class Weapon Table Row

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
<includeonly>|-
+
<noinclude>{{Template:Class Weapon Table Header}}</noinclude>|-
 
! style="border-right: hidden; width: 1px" rowspan="2" |
 
! style="border-right: hidden; width: 1px" rowspan="2" |
 
! style="border-right: hidden; width: 10px" rowspan="2" |
 
! style="border-right: hidden; width: 10px" rowspan="2" |
 
! style="border-right: hidden; width: 1px" rowspan="2" |
 
! style="border-right: hidden; width: 1px" rowspan="2" |
! rowspan="2" style="width: 100px;" | [[Image:{{{weaponname}}}.png|120px|link=http://wiki.teamfortress.com/wiki/{{#if:{{{link|}}}|{{{link|}}}|{{{weaponname|}}}}}]]<br />'''[http://wiki.teamfortress.com/wiki/{{#if:{{{link|}}}|{{{link|}}}|{{{weaponname|}}}}} {{{weaponname}}}]'''
+
! rowspan="2" style="width: 100px;" | [[Image:{{{weaponname}}}.png|120px|link=http://wiki.teamfortress.com/wiki/{{{weaponname}}}]]<br />'''[[{{{weaponname}}}]]'''
 
! style="border-left: hidden; width: 1px" rowspan="2" |
 
! style="border-left: hidden; width: 1px" rowspan="2" |
 
! style="border-left: hidden; width: 10px" rowspan="2" |
 
! style="border-left: hidden; width: 10px" rowspan="2" |
 
! style="border-left: hidden; width: 1px" rowspan="2" |
 
! style="border-left: hidden; width: 1px" rowspan="2" |
 
| align="center" height="5px" {{#switch: {{{ugc4s}}}
 
| align="center" height="5px" {{#switch: {{{ugc4s}}}
| true = bgcolor="LightGreen" {{!}} Allowed
+
| true = bgcolor="lightgreen" {{!}} Allowed
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>  
+
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{ugc4s}}}|name="ugc4s"}}
+
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{ugc4s}}}|name="ugc4s"}}
| always = bgcolor="#c9d7e8" {{!}} Always
+
| always = bgcolor="aliceblue" {{!}} Always
 
}}
 
}}
| align="center" height="5px" {{#switch: {{{6s}}}
+
| align="center" height="5px" {{#switch: {{{ugc6s}}}
| true = bgcolor="LightGreen" {{!}} Allowed
+
| true = bgcolor="lightgreen" {{!}} Allowed
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>  
+
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
+
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{ugc6sref}}}|name="ugc6sref"}}
| always = bgcolor="#c9d7e8" {{!}} Always
+
| always = bgcolor="aliceblue" {{!}} Always
 
}}
 
}}
| align="center" height="5px" {{#switch: {{{rgl6s}}}
+
| align="center" height="5px" {{#switch: {{{etf2l6s}}}
| true = bgcolor="LightGreen" {{!}} Allowed
+
| true = bgcolor="lightgreen" {{!}} Allowed
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>  
+
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{rgl6sref}}}|name="rgl6sref"}}
+
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{etf2l6sref}}}|name="etf2l6sref"}}
| always = bgcolor="#c9d7e8" {{!}} Always
+
| always = bgcolor="aliceblue" {{!}} Always
 
}}
 
}}
 +
| align="center" height="5px" {{#switch: {{{esea6s}}}
 +
| true = bgcolor="lightgreen" {{!}} Allowed
 +
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>
 +
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{esea6sref}}}|name="esea6sref"}}
 +
| always = bgcolor="aliceblue" {{!}} Always
 +
}}
 +
| align="center" height="5px" {{#switch: {{{ozf6s}}}
 +
| true = bgcolor="lightgreen" {{!}} Allowed
 +
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>
 +
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{ozf6sref}}}|name="ozf6sref"}}
 +
| always = bgcolor="aliceblue" {{!}} Always
 +
}}
 +
 
| align="center" height="5px" {{#switch: {{{ugchl}}}
 
| align="center" height="5px" {{#switch: {{{ugchl}}}
| true = bgcolor="LightGreen" {{!}} Allowed
+
| true = bgcolor="lightgreen" {{!}} Allowed
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>  
+
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{ugchlref}}}|name="ugchlref"}}
+
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{ugchlref}}}|name="ugchlref"}}
| always = bgcolor="#c9d7e8" {{!}} Always
+
| always = bgcolor="aliceblue" {{!}} Always
}}
 
| align="center" height="5px" {{#switch: {{{rglhl}}}
 
| true = bgcolor="LightGreen" {{!}} Allowed
 
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>
 
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{rglhlref}}}|name="rglhlref"}}
 
| always = bgcolor="#c9d7e8" {{!}} Always
 
 
}}
 
}}
 
| align="center" height="5px" {{#switch: {{{etf2lhl}}}
 
| align="center" height="5px" {{#switch: {{{etf2lhl}}}
| true = bgcolor="LightGreen" {{!}} Allowed
+
| true = bgcolor="lightgreen" {{!}} Allowed
| false = bgcolor="IndianRed" {{!}} <font color="white"> Banned </font>  
+
| false = bgcolor="indianred" {{!}} <font color="white"> Banned </font>  
| maybe = bgcolor="Gold" {{!}} Depends {{#tag:ref|{{{etf2lhlref}}}|name="etf2lhlref"}}
+
| maybe = bgcolor="yellow" {{!}} Depends {{#tag:ref|{{{etf2lhlref}}}|name="etf2lhlref"}}
| always = bgcolor="#c9d7e8" {{!}} Always
+
| always = bgcolor="aliceblue" {{!}} Always
 
}}
 
}}
 
|-
 
|-
| align="center" colspan="6" style="width: 1000px;" | {{{description}}}</includeonly><noinclude>
+
| align="center" colspan="7"| {{{description}}}<noinclude>
{{Documentation}}
+
{{Template:Class Weapon Table End}}
 +
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 <pre><references /></pre> 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 ==
 +
<pre>
 +
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
 +
 
 +
</pre>
 +
=== Usage ===
 +
<pre>
 +
 
 +
{{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.
 +
}}
 +
</pre>
 +
=== Displays ===
 +
{|
 +
{{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.
 +
}}
 +
|}
 +
 
 +
=== Notes ===
 +
<references />
 
</noinclude>
 
</noinclude>

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)