Template:Strange item info/doc

From Team Fortress Wiki
Jump to: navigation, search

Usage

Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.

{{Strange item info
 | item-name =
 | item-type =
 | rankson =
 | rankson2 = 
 | festive =
 | can deal damage =
 | can deal gib damage =
 | can headshot =
 | can reflect projectiles =
 | can deal posthumous damage =
 | can extinguish =
 | notes =
}}

Parameters

item-name
Used only to over-ride the weapon name on language pages, so add the translated name under the parameter. If left blank will pull from the base page name and use the english weapon name.
item-type
The "type" of item as stated in the subtitle of the weapon. For example Jarate is Jar Based Karate. If left blank will look for basepagename, useful for stock weapon pages. The french translation for the line also shows an example of how to make it default to item-name when left blank, similarly useful for stock weapon pages.
rankson
The primary strange counter statistic. Inputs should be in lowercase and english, as the translations are automatically taken from the dictionary templates. Allowed inputs include:
  • kills
  • ubers
  • kill assists
  • sentry kills
  • sodden victims
  • spies shocked
  • heads taken
  • humiliations
  • deaths feigned
  • buildings sapped
  • tickle fights won
  • opponents flattened
rankson2
Adds a secondary counter in brackets under the primary counter. Also adds a note under the backpack item template to remind the reader that only the primary counter will count towards the strange rank. Same inout rules as rankson above.
festive
Puting anything in this input will add a note below the backpack item template about how this weapon is also available as a strange festive.
att-#-positive / att-#-neutral / att-#-negative
Accepts the standard attribute inputs used in Template:Item infobox and Template:Backpack item. Used to show the backpack item panel as it would appear in game with all the weapon stats. Upto 6 inputs allowed.
notes
Will add the input text inside the box above the strange part table, useful to put notes about the strange weapon behavior or special rankings.

Strange Part Parameters

These parameters control the crosses and ticks displayed in the strange part table. All default to yes. The parameters used are very similar to those set out in the Template:Strange part tags table with a few exceptions for specific types of weapons. Be sure to check the table for strange part compatability as some parts cannot be used on weapons despite their full functionailty.

can deal damage
Affects the Airborne Enemies Killed, Heavies Killed and Buildings Destroyed (unless overridden by can deal building damage) parts.
can deal building damage
Affects Buildings Destroyed strange part. Separated from can deal damage due to weapons such as the Mantreads and Chargin' Targe specifically being unable to destroy buildings.
can deal gib damage
Affects the Gib Kills strange part.
can headshot
Affects the Headshot Kills strange part.
can reflect projectiles
Affects the Projectiles Reflected strange part.
can deal posthumous damage
Affects the Posthumous Kills strange part.
can extinguish
Affects the Allies Extinguished strange part.