Difference between revisions of "Template:Strange item info"

From Team Fortress Wiki
Jump to: navigation, search
m (added /de string)
(added new parts)
Line 197: Line 197:
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Full Moon Kills|63px}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Full Moon Kills|63px}}
 +
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 +
| style="background:#fef5e0;" | {{icon item|Strange Part Scouts Killed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
|-
 
|-
Line 202: Line 204:
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Soldiers Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Soldiers Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Full Moon Kills}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Full Moon Kills}}
 +
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Scouts Killed}}
 +
|-
 +
| style="background:#fef5e0;" | {{icon item|Strange Part Cloaked Spies Killed|63px}}
 +
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 +
| style="background:#fef5e0;" | {{icon item|Strange Part Sappers Destroyed|63px}}
 +
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can destroy sappers|{{{all|no}}}}}}}}
 +
|-
 +
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Cloaked Spies Killed}}
 +
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Sappers Destroyed}}
 
|-
 
|-
 
|}
 
|}

Revision as of 23:06, 4 September 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.