Template:Class Weapon Table Row

From comp.tf
Revision as of 01:28, 24 September 2020 by Efefknee (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(view - edit) Documentation

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.

Usage

Easily shows whether a weapon is allowed, banned, or selectively allowed.

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 the circumstances in which the weapon is allowed. 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= for UGC 4v4 |6s= for the Global Whitelist |rgl6s= for RGL 6v6 |ugchl= for UGC Highlander |rglhl=for RGL Highlander |etf2lhl= for ETF2L Highlander

Example

{{Template:Class Weapon Table Header}}
{{Template:Class Weapon Table Row
|weaponname = Natascha
|description = INFO HERE! INFO HERE!
|ugc4s = false
|ugc6s = false
|6s = maybe
|6sref = Exemplar reference.
|rgl6s = true
|ugchl = true
|etf2lhl = false
|rglhl = false
}}
{{Template:Class Weapon Table End}}

Displays:

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
Natascha.png
Natascha
Banned Depends [1] Allowed Allowed Banned Banned
INFO HERE! INFO HERE!


References

  1. {{{ugc6sref}}}

See also