Difference between revisions of "Template:Strange item info"

From Team Fortress Wiki
Jump to: navigation, search
m (have to create and non schema tag exception if mantreads and targe cannot use it)
(Added fr translation.)
Line 2: Line 2:
 
! colspan="19" style="background:#F3A957;" | {{lang
 
! colspan="19" style="background:#F3A957;" | {{lang
 
  | en = Strange Variant Information
 
  | en = Strange Variant Information
 +
| fr = Informations sur la Variante Étrange
 
}}
 
}}
 
|-
 
|-
Line 14: Line 15:
 
  | item-level ={{lang
 
  | item-level ={{lang
 
| en = {{dictionary/items/strange}} {{{item-type}}}  
 
| en = {{dictionary/items/strange}} {{{item-type}}}  
 +
| fr = {{{item-type}}} {{dictionary/items/strange}}
 
}} - {{Template:Dictionary/items/{{{rankson}}}}}: 0{{#if:{{{rankson2|}}}    |<br>({{Template:Dictionary/items/{{{rankson2}}}}}: 0) }}
 
}} - {{Template:Dictionary/items/{{{rankson}}}}}: 0{{#if:{{{rankson2|}}}    |<br>({{Template:Dictionary/items/{{{rankson2}}}}}: 0) }}
  
Line 78: Line 80:
 
{{#if:{{{rankson2|}}}| {{lang
 
{{#if:{{{rankson2|}}}| {{lang
 
  | en = Only the first statistic counts towards the [[Strange#Ranks|strange rank]].
 
  | en = Only the first statistic counts towards the [[Strange#Ranks|strange rank]].
 +
| fr = Seule la première statistique est comptabilisée pour le [[Strange/fr#Rangs|rang étrange]]
 
}}<br>}}
 
}}<br>}}
 
{{#if:{{{festive|}}}| {{lang
 
{{#if:{{{festive|}}}| {{lang
 
  | en = Note: This weapon is also available as a strange [[Festive|festive]].
 
  | en = Note: This weapon is also available as a strange [[Festive|festive]].
 +
| fr = Note: Cette arme est également disponible en tant qu'arme [[Festive/fr|festive]] Étrange
 
}}}}
 
}}}}
 
|{{{notes|}}}
 
|{{{notes|}}}
Line 88: Line 92:
 
! colspan="19" style="background:#f9d483;"| {{lang
 
! colspan="19" style="background:#f9d483;"| {{lang
 
   | en = Compatible [[Strange Part|Strange parts]]
 
   | en = Compatible [[Strange Part|Strange parts]]
 +
  | fr = [[Strange Part/fr|Pièces Étranges]] compatibles
 
   }}
 
   }}
 
|-
 
|-
Line 121: Line 126:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
{{translation switching|en}}
+
{{translation switching|en|fr}}
 
== Usage ==
 
== Usage ==
 
* Create a <nowiki>==Strange Variant==</nowiki> subsection on the weapon page.
 
* Create a <nowiki>==Strange Variant==</nowiki> subsection on the weapon page.

Revision as of 13:02, 1 May 2012

Usage

  • Create a ==Strange Variant== subsection on the weapon page.
  • Add this template with {{Strange item info}}
  • Use the following parameters:
    • item-type=Item Level Name (E.g. Back Scratcher would be "Garden Rake")
    • rankson=Rank up title (E.g. ubercharges, lowercase autotranslates using the dictionary)
    • rankson2=Alternate Rank (E.g. kill assists, lowercase autotranslates using the dictionary)
    • Insert appropriate attributes with att-#-value (E.g. att-1-neutral=ÜberCharge increases healing by 300% and grants immunity to movement-impairing effects or att-2-positive=+40% heal rate)
  • Add on Strange Part compatibility (all are defaulted to yes):
    • can deal damage = yes/no (Affects the Airborne Enemies Killed, Heavies Killed, and Buildings Destroyed strange parts)
    • can deal gib damage = yes/no (Affects the Gib Kills strange part)
    • can headshot = yes/no (Affects the Headshot Kills strange part)
    • can reflect projectiles = yes/no (Affects the Projectiles Reflected strange part)
    • can deal posthumous damage = yes/no (Affects the Posthumous Kills strange part)
    • can extinguish = yes/no (Affects the Allies Extinguished strange part)