Difference between revisions of "Template:Strange item info"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
! colspan="2" style="background:#F3A957;" | {{lang
 
! colspan="2" style="background:#F3A957;" | {{lang
 
  | en = Strange Variant Information
 
  | en = Strange Variant Information
  | da = Sær Information
+
  | da = Sær information
 
  | es = Información de Varicaciones Raras
 
  | es = Información de Varicaciones Raras
 
  | fr = Informations sur la Variante Étrange
 
  | fr = Informations sur la Variante Étrange
Line 189: Line 189:
 
<noinclude>
 
<noinclude>
 
{{clr}}
 
{{clr}}
{{translation switching|en, fr, hu, ru, pt-br, zh-hant}}
+
{{translation switching|en, da, fr, hu, ru, pt-br, zh-hant}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:03, 1 July 2012

Template documentation [view] [edit] [history] [purge]

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 = 
 | rankson3 =
 | festive =
 | botkiller =
 | australium =
 | can deal damage =
 | can deal gib damage =
 | can headshot =
 | can reflect projectiles =
 | can deal posthumous damage =
 | can extinguish =
 | can deal critical damage =
 | can be equipped by soldier or demo =
 | can destroy sappers =
 | can deal long range damage =
 | can deal taunt damage =
 | is cosmetic =
 | can heal allies =
 | 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
  • seconds cloaked
  • health dispensed
  • allies teleported
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.
rankson3
Adds a third counter in brackets under the secondary counter. Same inout rules as rankson and rankson2 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.
botkiller
Functions exactly the same as festive.
australium
Functions exactly the same as festive and botkiller.
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, Buildings Destroyed (unless overridden by can deal building damage), Full Moon Kills, Demomen Killed, Soldiers Killed, Domination Kills, Revenge Kills, Scouts Killed and Cloaked Spies Killed parts. Default is yes.
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. Default is yes.
can deal gib damage
Affects the Gib Kills strange part. Default is no.
can headshot
Affects the Headshot Kills strange part. Default is no.
can reflect projectiles
Affects the Projectiles Reflected strange part. Default is no.
can deal posthumous damage
Affects the Posthumous Kills strange part. Default is no.
can extinguish
Affects the Allies Extinguished strange part. Default is no.
can deal critical damage
Affects the Critical Kills strange part. Will use can deal damage if left blank. Default is yes.
can be equipped by soldier or demo
Affects the Kills While Explosive Jumping strange part. Default is no.
can destroy sappers
Affects the Sappers Destroyed strange part. Default is no.
can deal long range damage
Affects the Long-Distance Kills strange part. Default is no.
can deal taunt damage
Affects the Kills with a Taunt Attack strange part. Default is no.
is cosmetic
Affects the Freezecam Taunt Appearances and Fires Survived strange parts. Default is no.
can heal allies
Affects the Allied Healing Done strange part. Default is no.