Difference between revisions of "User:Darkid/Sandbox2"

From Team Fortress Wiki
Jump to: navigation, search
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable collapsible {{#ifeq:{{{collapsed|yes}}}|yes|collapsed}}" cellpadding="2" style="font-size:90%;"
+
<includeonly>{{Complex template|user=Darkid}}</includeonly>
 +
This template is used to display item stats similar to how they appear in-game.
 +
 
 +
== Parameters ==
 +
{| class="wikitable grid"
 +
! width="15%" class="header" | Parameter
 +
! width="35%" class="header" | Example
 +
! class="header" | Description
 +
|- <!-- This section is for parameters which effect the item name. -->
 +
| {{code|item-name}}
 +
| {{code|Batter's Helmet}}
 +
| Proper item name in English (e.g. {{xt|Batter's Helmet}} instead of {{!xt|Casque de Batteur}}). The item name will be automatically translated on language subpages.
 +
|-
 +
| {{code|custom-name}}
 +
| {{code|Spam Hammer}}
 +
| Adds a custom name with quotation marks. Still needs {{code|item-name}} to produce the correct image.
 +
|-
 +
| {{code|no-custom-name-quotes}}
 +
| {{code|yes}}
 +
| Removes quotation marks from custom names if the {{code|custom-name}} field is used.
 +
|-
 +
| {{code|custom-icon}}
 +
| {{code|File:User Username my item icon.png}}
 +
| Adds a custom icon for users' own purposes. This parameter is independent from {{code|item-name}} parameter.
 +
|-
 +
| {{code|quality}}
 +
| {{code|normal}}
 +
| Defaults to "{{code|unique}}" (the standard item yellow). See [[Item quality]] for a list of accepted values.
 +
|-
 +
| {{code|prefix}}
 +
| {{code|none}}<br />{{code|The Best}}
 +
| Set to "none" to hide the "Vintage" or "Community", etc, prefix but keeping the colour. Can also use a custom value, e.g. "{{code|1=prefix = The Best}}" will generate "The Best Flare Gun".
 +
|-
 +
| {{code|suffix}}
 +
| {{code|none}}<br />{{code|The Best}}
 +
| Same as 'prefix' for non-en pages. Can also use a custom value, e.g. "{{code|1=suffix = The Best}}" will generate "Flare Gun The Best".
 +
|-
 +
| {{code|filter}}
 +
| {{code|Coldfront}}
 +
| Adds the appropriate [[Strange Filter]] prefix / suffix to the weapon.
 +
|-
 +
| {{code|paint-color}}
 +
| {{code|Mann Co. Orange}}
 +
| Adds the colored paint 'splat' specified to the top right of the item icon.
 +
|-
 +
| {{code|unusual-effect}}
 +
| {{code|Bubbling}}
 +
| Adds the Particle Effect icon to the top right of the item's icon. Also adds the "Unusual Effect:" line.
 +
|-
 +
| {{code|strange-icon}}
 +
| {{code|yes}}
 +
| Adds the Strange/StatTrack icon to the top right of the item's icon.
 +
|-
 +
| {{code|decal-icon}}
 +
| {{code|yes}}
 +
| Adds this [[:File:Paint_Splat_Decal.png|icon]] to the top right of the item's icon. Only used on the [[Items]] page.
 +
|-
 +
! style="text-align:left;" class="header" colspan="3" | ''Attributes''
 +
|- <!-- This section is for parameters which modify the item description. -->
 +
| {{code|item-level}}
 +
| {{code|50}}
 +
| Item level. Defaults to "<span class="att_level">1-100</span>".
 +
|-
 +
| {{code|item-kind}}
 +
| {{code|Hat}}
 +
| Item kind. This string is not automatically translated.
 +
|-
 +
| {{code|no-level}}
 +
| {{code|yes}}
 +
| Optional attribute. If "yes", item level will not be displayed.
 +
|-
 +
| {{code|limited}}
 +
| {{code|yes}}
 +
| Optional attribute. If "yes", the item name will be colored yellow, the word "Limited" will be added with a link to [[Limited Quantity]].
 +
|-
 +
| {{code|grade}}
 +
| {{code|elite}}
 +
| Optional attribute. If specified, the item name will be colored correctly for the grade, and the name of the grade will be added before the name, e.g.: Elite Grade Rocket Launcher. Valid options are <code>Civilian, Freelance, Mercenary, Commando, Assassin, Elite</code>
 +
|-
 +
| {{code|wear}}
 +
| {{code|factory new}}
 +
| Optional attribute, for decorated weapons. Listed in parenthesis after the item name, e.g.: Rocket Launcher (Factory New). Valid options are <code>Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, Factory New.</code>
 +
|-
 +
| {{code|rankson}}
 +
| {{code|Kills}}
 +
| Primary stat method for a strange weapon.
 +
|-
 +
| {{code|killcount}}
 +
| {{code|7616}}
 +
| Number of kills for the primary rank method.
 +
|-
 +
| {{code|rankson2}}
 +
| {{code|Kill assists}} or {{code|Damage dealt}}
 +
| Secondary rank method '''or''' strange part. {{code|rankson3}} and {{code|rankson4}} work similarly.
 +
|-
 +
| {{code|killcount2}}
 +
| {{code|12}}
 +
| Number of kills for the secondary rank method '''or''' first strange part. {{code|killcount3}} and {{code|killcount4}} work similarly.
 +
|-
 +
|
 +
<code>att-n-neutral</code><br />
 +
<code>att-n-positive</code><br />
 +
<code>att-n-negative</code>
 +
|
 +
<code>att-1-neutral = Cloak Type: Feign Death</code><br />
 +
<code>att-2-positive = +80% cloak regen rate</code><br />
 +
<code>att-3-negative = +60% cloak drain rate</code><br />
 +
(See section on [[#Examples|examples]] below)
 +
| Displays up to 8 positive, negative and neutral values.
 +
|-
 +
| {{code|item-description}}
 +
| {{code|It doesn't matter how much people respect you when they're on fire.}}
 +
| For items that have an in-game description. This displays the description in a smaller font in order to distinguish from neutral attributes. Will not display if a {{code|custom-description}} is set.
 +
|-
 +
| {{code|custom-description}}
 +
| {{code|This hat is the greatest.}}
 +
| For items that have a custom in-game description (from a [[Description Tag]]). Displays like a normal description but has quotation marks surrounding it.
 +
|-
 +
| {{code|gift-from}}
 +
| {{code|Robin}}
 +
| Display the source of a gifted item. Displays the text "<span class="att_positive">Gift from: Robin</span>"
 +
|-
 +
| {{code|date-received}}
 +
| {{code|Mar 23, 2011 (06:30:00)}}
 +
| Display the date a gifted item was received. Will not appear if no {{code|gift-from}} is defined. Displays the text "<span class="att_neutral">Date Received: Mar 23, 2011 (06:30:00)</span>"
 +
|-
 +
| {{code|item-expiration}}
 +
| {{code|Dec 31, 2010 (23:00:00)}}
 +
| For items that expire. Displays the text "<span class="att_negative">This item will expire on Dec 31, 2010 (23:00:00).</span>".
 +
|-
 +
| {{code|item-uses}}
 +
| {{code|5}}
 +
| For items that have "uses". Displays the text "<span class="att_uses">This is a limited item. Uses: 5</span>".
 +
|-
 +
| {{code|item-flags}}
 +
| {{code|Not Tradable or Usable in Crafting}}
 +
| For item flags. Displays them inside brackets: "<span class="att_flags">( Not Tradable or Usable in Crafting )</span>".
 +
|-
 +
| {{code|festivized}}
 +
| {{code|yes}}
 +
| For items which have been Festivized. Displays the text "<span style="color:#8650AC">Festivized</span>".
 +
|-
 +
! style="text-align:left;" class="header" colspan="3" | ''Styling''
 +
|-
 +
| {{code|width}}
 +
| {{code|25%}}
 +
| Width parameter. Defaults to {{code|100%}} in infoboxes, but for other usages, can be any value (%, px, pt, em).
 +
|-
 +
| {{code|style}}
 +
|
 +
| Style parameter. Can add any valid CSS style to the main div.
 +
|-
 +
|}
 +
 
 +
== Examples ==
 +
{| class="wikitable grid"
 +
! class="header" width="40%" | Code
 +
! class="header" width="30%" | Old Output
 +
! class="header" width="30%" | New Output
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Cloak and Dagger
 +
| item-level = 5
 +
| item-kind = Invis Watch
 +
| att-1-neutral = Cloak Type: Feign Death
 +
| att-2-positive = +80% cloak regen rate
 +
| att-3-negative = +60% cloak drain rate
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Cloak and Dagger
 +
| item-level = 5
 +
| item-kind = Invis Watch
 +
| att-1-neutral = Cloak Type: Feign Death
 +
| att-2-positive = +80% cloak regen rate
 +
| att-3-negative = +60% cloak drain rate
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Cloak and Dagger
 +
| item-level = 5
 +
| item-kind = Invis Watch
 +
| att-1-neutral = Cloak Type: Feign Death
 +
| att-2-positive = +80% cloak regen rate
 +
| att-3-negative = +60% cloak drain rate
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Rocket Launcher
 +
| custom-name = Rawket Lawnchair
 +
| quality = vintage
 +
| item-level = 50
 +
| item-kind = Furniture
 +
| att-1-positive = +20% additional comfort
 +
| att-2-positive = +35% increase in lumbar support
 +
| att-3-negative = +50% increase in financial hardship
 +
| custom-description = For those who favour comfort over fiscal stability.
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Rocket Launcher
 +
| custom-name = Rawket Lawnchair
 +
| quality = vintage
 +
| item-level = 50
 +
| item-kind = Furniture
 +
| att-1-positive = +20% additional comfort
 +
| att-2-positive = +35% increase in lumbar support
 +
| att-3-negative = +50% increase in financial hardship
 +
| custom-description = For those who favour comfort over fiscal stability.
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Rocket Launcher
 +
| custom-name = Rawket Lawnchair
 +
| quality = vintage
 +
| item-level = 50
 +
| item-kind = Furniture
 +
| att-1-positive = +20% additional comfort
 +
| att-2-positive = +35% increase in lumbar support
 +
| att-3-negative = +50% increase in financial hardship
 +
| custom-description = For those who favour comfort over fiscal stability.
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Wiki Cap
 +
| quality = community
 +
| item-kind = Hat
 +
| item-level = 20
 +
| item-flags = Not Tradable or Usable in Crafting
 +
| unusual-effect = Community Sparkle
 +
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Wiki Cap
 +
| quality = community
 +
| item-kind = Hat
 +
| item-level = 20
 +
| item-flags = Not Tradable or Usable in Crafting
 +
| unusual-effect = Community Sparkle
 +
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Wiki Cap
 +
| quality = community
 +
| item-kind = Hat
 +
| item-level = 20
 +
| item-flags = Not Tradable or Usable in Crafting
 +
| unusual-effect = Community Sparkle
 +
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Tux
 +
| limited = yes
 +
| item-kind = Mascot
 +
| item-level = 1-100
 +
| item-description = Linux represent!
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Tux
 +
| limited = yes
 +
| item-kind = Mascot
 +
| item-level = 1-100
 +
| item-description = Linux represent!
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Tux
 +
| limited = yes
 +
| item-kind = Mascot
 +
| item-level = 1-100
 +
| item-description = Linux represent!
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Citizen Pain
 +
| item-kind = Minigun
 +
| grade = Assassin
 +
| wear = Battle Scarred
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Citizen Pain
 +
| item-kind = Minigun
 +
| grade = Assassin
 +
| wear = Battle Scarred
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Citizen Pain
 +
| item-kind = Minigun
 +
| grade = Assassin
 +
| wear = Battle Scarred
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = A Hat to Kill For
 +
| item-kind = Hat
 +
| grade = Civilian
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = A Hat to Kill For
 +
| item-kind = Hat
 +
| grade = Civilian
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = A Hat to Kill For
 +
| item-kind = Hat
 +
| grade = Civilian
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Medigun
 +
| item-kind = Medi Gun
 +
| quality = Strange
 +
| strange-icon = yes
 +
| rankson = Ubers
 +
| killcount = 20
 +
| rankson2 = Kill assists
 +
| killcount2 = 300
 +
| rankson3 = Allied Healing Done
 +
| killcount3 = 10000
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Medigun
 +
| item-kind = Medi Gun
 +
| quality = Strange
 +
| strange-icon = yes
 +
| rankson = Ubers
 +
| killcount = 20
 +
| rankson2 = Kill assists
 +
| killcount2 = 300
 +
| rankson3 = Allied Healing Done
 +
| killcount3 = 10000
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Medigun
 +
| item-kind = Medi Gun
 +
| quality = Strange
 +
| strange-icon = yes
 +
| rankson = Ubers
 +
| killcount = 20
 +
| rankson2 = Kill assists
 +
| killcount2 = 300
 +
| rankson3 = Allied Healing Done
 +
| killcount3 = 10000
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Burstchester
 +
| item-kind = Special Taunt
 +
| rankson = Times Performed
 +
| quality = Strange Unusual
 +
| unusual-effect = Mega Strike
 +
| grade = Assassin
 +
| prefix = Taunt:
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Burstchester
 +
| item-kind = Special Taunt
 +
| quality = Strange Unusual
 +
| rankson = Times Performed
 +
| unusual-effect = Mega Strike
 +
| grade = Assassin
 +
| prefix = Taunt:
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Burstchester
 +
| item-kind = Special Taunt
 +
| quality = Strange Unusual
 +
| rankson = Times Performed
 +
| unusual-effect = Mega Strike
 +
| grade = Assassin
 +
| prefix = Taunt:
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Forest Fire
 +
| item-kind = Flame Thrower
 +
| quality = Strange
 +
| grade = Mercenary
 +
| wear = Well-Worn
 +
| rankson = Kills
 +
| killcount = 10
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Forest Fire
 +
| item-kind = Flame Thrower
 +
| quality = Strange
 +
| grade = Mercenary
 +
| wear = Well-Worn
 +
| rankson = Kills
 +
| killcount = 10
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Forest Fire
 +
| item-kind = Flame Thrower
 +
| quality = Strange
 +
| grade = Mercenary
 +
| wear = Well-Worn
 +
| rankson = Kills
 +
| killcount = 10
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Co-Pilot
 +
| item-kind = Hat
 +
| limited = yes
 +
| quality = Strange
 +
| rankson = points scored
 +
| killcount = 75
 +
| description = Winter 2014 Limited Community Cosmetic
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Co-Pilot
 +
| item-kind = Hat
 +
| limited = yes
 +
| quality = Strange
 +
| rankson = points scored
 +
| killcount = 75
 +
| description = Winter 2014 Limited Community Cosmetic
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Co-Pilot
 +
| item-kind = Hat
 +
| limited = yes
 +
| quality = Strange
 +
| rankson = points scored
 +
| killcount = 75
 +
| description = Winter 2014 Limited Community Cosmetic
 +
}}
 
|-
 
|-
! colspan="3" style="background:#F3A957;" | {{lang
+
|<pre>
  | en = Crate Series <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
{{#invoke:Backpack item|backpack_item
  | cs = Krabice série <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| item-name = Sniper Rifle
  | da = Kasseserie <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| item-kind = Sniper Rifle
  | de = Kistenreihe <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| quality = Strange
  | es = Nº de serie de la caja <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| strange-icon = yes
  | fi = Laatikkosarjan nro: {{#if:{{{series|}}}|{{{series}}}}}
+
| filter = yukon
  | fr = Caisse Série N° {{#if:{{{series|}}}|{{{series}}}}}
+
| rankson = kills
  | hu = {{#if:{{{series|}}}|{{{series}}}}} Sorozatú Láda
+
| killcount = 999
  | it = Serie Casse n. {{#if:{{{series|}}}|{{{series}}}}}
+
}}
  | ja = 箱シリーズ <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
</pre>
  | ko = 상자 시리즈 {{#if:{{{series|}}}|{{{series}}}}}
+
|{{Backpack item
  | nl = Kistserie <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| item-name = Sniper Rifle
  | no = Crate Series <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| item-kind = Sniper Rifle
  | pl = Skrzynka z serii <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| quality = Strange
  | pt-br = Caixa da série {{#if:{{{series|}}}|{{{series}}}}}
+
| strange-icon = yes
  | ro = Cutie Seria <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| filter = yukon
  | ru = Тираж <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| rankson = kills
  | tr = Kutu Serisi <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
| killcount = 999
  | zh-hans = 供应箱序列号 <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
}}
  | zh-hant = 箱子編號 <nowiki>#</nowiki>{{#if:{{{series|}}}|{{{series}}}}}
+
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Sniper Rifle
 +
| item-kind = Sniper Rifle
 +
| quality = Strange
 +
| strange-icon = yes
 +
| filter = yukon
 +
| rankson = kills
 +
| killcount = 999
 
}}
 
}}
 
|-
 
|-
| colspan="2" style="background:#FFDDAD;" | {{lang
+
|<pre>
  | en = Drops
+
{{#invoke:Backpack item|backpack_item
  | cs = Lze nalézt
+
| item-name = Max's Severed Head
  | da = Dropper
+
| item-kind = Hat
  | de = Kann gefunden werden
+
| limited = yes
  | es = Obtenible
+
| paint-color = Team Spirit
  | fi = Löydettävissä
+
}}
  | fr = Peut être obtenue
+
</pre>
  | hu = Található
+
|{{Backpack item
  | ja = ドロップ率はあくまでも推定値です
+
| item-name = Max's Severed Head
  | ko = 획득
+
| item-kind = Hat
  | it = Attiva
+
| limited = yes
  | nl = Kan gevonden worden
+
| paint-color = Team Spirit
  | pl = Może zostać losowo znaleziona
+
}}
  | pt-br = Pode ser obtida
+
|{{#invoke:Backpack item|backpack_item
  | ru = Можно найти
+
| item-name = Max's Severed Head
  | tr = Düşme
+
| item-kind = Hat
  | zh-hans = 能否掉落得到
+
| limited = yes
  | zh-hant = 從隨機掉落獲取
+
| paint-color = Team Spirit
 
}}
 
}}
| style="text-align:right;" | {{common string|{{{drops}}}}}
 
{{#if:{{{item1|}}}|
 
  {{!-}}
 
  {{!}} colspan="3" style="background:#FFBD7E" | {{lang
 
    | en = Items
 
    | cs = Předměty
 
    | da = Genstande
 
    | de = Gegenstände
 
    | es = Objetos
 
    | fi = Esineet
 
    | fr = Objets
 
    | hu = Tárgyak
 
    | ja = 中身
 
    | ko = 아이템
 
    | it = Oggetti
 
    | nl = Voorwerpen
 
    | no = Gjenstander
 
    | pl = Zawartość
 
    | pt-br = Itens
 
    | ru = Предмет
 
    | tr = Eşyalar
 
    | zh-hans = 物品
 
    | zh-hant = 物品
 
  }}
 
  | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item1}}}}}[[{{{item1}}}{{if lang}}|{{item name|{{{item1}}}}}]]
 
  | style="text-align:right;" | {{#if:{{{rate1|}}}|{{Decimal Align|NUM={{{rate1}}}|P=2|POSTFIX=%}}}}
 
  {{#if:{{{item2|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item2}}}}} {{Item link|{{{item2}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate2|}}}|{{Decimal Align|NUM={{{rate2}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item3|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item3}}}}} {{Item link|{{{item3}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate3|}}}|{{Decimal Align|NUM={{{rate3}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item4|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item4}}}}} {{Item link|{{{item4}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate4|}}}|{{Decimal Align|NUM={{{rate4}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item5|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item5}}}}} {{Item link|{{{item5}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate5|}}}|{{Decimal Align|NUM={{{rate5}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item6|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item6}}}}} {{Item link|{{{item6}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate6|}}}|{{Decimal Align|NUM={{{rate6}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item7|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item7}}}}} {{Item link|{{{item7}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate7|}}}|{{Decimal Align|NUM={{{rate7}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item8|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item8}}}}} {{Item link|{{{item8}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate8|}}}|{{Decimal Align|NUM={{{rate8}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item9|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item9}}}}} {{Item link|{{{item9}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate9|}}}|{{Decimal Align|NUM={{{rate9}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item10|}}} |
 
    {{!-}}
 
      | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item10}}}}} {{Item link|{{{item10}}}}}
 
  | s  tyle="text-align:right;"  | {{#if:  {{{rate10|}}}|{{Decimal Align|NUM={{{rate10}}}|P=2|POSTFIX=%}}}}
 
}}{{#if:{{{item11|}}} |
 
  {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item11}}}}} {{Item link|{{{item11}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate11|}}}|{{Decimal Align|NUM={{{rate11}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item12|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item12}}}}} {{Item link|{{{item12}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate12|}}}|{{Decimal Align|NUM={{{rate12}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item13|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item13}}}}} {{Item link|{{{item13}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate13|}}}|{{Decimal Align|NUM={{{rate13}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item14|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item14}}}}} {{Item link|{{{item14}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate14|}}}|{{Decimal Align|NUM={{{rate14}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item15|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item15}}}}} {{Item link|{{{item15}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate15|}}}|{{Decimal Align|NUM={{{rate15}}}|P=2|POSTFIX=%}}}}
 
    }}{{#if:{{{item16|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item16}}}}} {{Item link|{{{item16}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate16|}}}|{{Decimal Align|NUM={{{rate16}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item17|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item17}}}}} {{Item link|{{{item17}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate17|}}}|{{Decimal Align|NUM={{{rate17}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item18|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item18}}}}} {{Item link|{{{item18}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate18|}}}|{{Decimal Align|NUM={{{rate18}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item19|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item19}}}}} {{Item link|{{{item19}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate19|}}}|{{Decimal Align|NUM={{{rate19}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item20|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item20}}}}} {{Item link|{{{item20}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate20|}}}|{{Decimal Align|NUM={{{rate20}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item21|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item21}}}}} {{Item link|{{{item21}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate21|}}}|{{Decimal Align|NUM={{{rate21}}}|P=2|POSTFIX=%}}}}
 
  }}{{#if:{{{item22|}}} |
 
    {{!-}}
 
    | colspan="2" style="background:#FFDDAD;" | {{item icon|{{{item22}}}}} {{Item link|{{{item22}}}}}
 
    | style="text-align:right;" | {{#if:{{{rate22|}}}|{{Decimal Align|NUM={{{rate22}}}|P=2|POSTFIX=%}}}}
 
  }}
 
  |-
 
  | colspan="2" style="background:#FFDDAD;" | [[Unusual{{if lang}}|{{lang
 
    | en = or an Exceedingly Rare {{#if:{{{halloweenU|}}}|Halloween-Themed|}} {{#if:{{{weaponU|}}}|Unusual Weapon|Special Item}}!
 
    | cs = nebo speciální extrémně vzácný předmět!
 
    | da = eller en yderst sjælden speciel genstand!
 
    | de = oder ein außerordentlich seltener Bonus-Gegenstand!
 
    | es = ¡o un objeto especial extraordinariamente raro!
 
    | fi = tai erittäin harvinaisen erikoisesineen!
 
    | fr = ou un objet spécial extrêmement rare !
 
    | hu = vagy egy rendkívüli ritkaságú különleges tárgy!
 
    | it = o un Oggetto Speciale Eccezionalmente Raro!
 
    | ja = あるいは、非常にレアなスペシャルアイテムが入っている可能性も!
 
    | ko = 또는 상당히 희귀한 특별 아이템!
 
    | nl = of een extreem zeldzaam speciaal voorwerp!
 
    | no = eller en ytterst sjelden spesialgjenstand!
 
    | pl = lub niezwykle rzadki przedmiot specjalny!
 
    | pt = ou um Item especial extremamente raro!
 
    | pt-br = ou {{#if:{{{weaponU|}}}|uma Arma Incomum Extremamente Rara|um Item Especial e Excessivamente Raro}}{{#if:{{{halloweenU|}}}| temático de Dia das Bruxas|}}!
 
    | ro = sau un obiect Extrem de Rar și Special!
 
    | ru = или необычайно редкий, особый предмет{{#if:{{{halloweenU|}}}|с тематикой Хеллоуина|}}!
 
    | sv = eller ett Ytterst Ovanligt Specialföremål!
 
    | tr = veya Ender Bulunan {{#if:{{{halloweenU|}}}|Cadılar Bayramı Temalı|}} Özel Bir Eşya!
 
    | zh-hans = 或者是一件极其罕见的特殊物品!
 
    | zh-hant = 或超稀有的特殊物品!
 
    }}]]
 
  | style="text-align:right;" | {{#if:{{{rateU|}}}|{{Decimal Align|NUM={{{rateU}}}|P=2|POSTFIX=%}}}}
 
}}<!-- End #if item1 -->
 
 
|-
 
|-
| colspan="3" style="background:#dee8ed; text-align:center;" | {{lang
+
|<pre>
  | en = Drop rate is an estimate only.
+
{{#invoke:Backpack item|backpack_item
  | cs = Šance na otevření daného předmětu je pouze odhadnutá.
+
| item-name = Flare Gun
  | da = Dropraten er kun et estimat.
+
| item-kind = Flare Gun
  | de = Die Fundrate ist nur ein geschätzter Wert.
+
| item-level = 10
  | es = El porcentaje de obtención es estimado.
+
| item-description = This weapon will reload when not active
  | fi = Löytömahdollisuus on arvio.
+
| att-1-positive   = 100% critical hit vs burning players
  | fr = Le pourcentage d'obtention est une estimation.
+
| killstreak = professional // Killstreaks Active + changes prefix to "Professional Killstreak"
  | hu = Találhatóság csak becslés eredménye.
+
| killstreaker = Singularity // adds "Killstreaker: " line
  | it = La percentuale di rilascio è solo stimata.
+
| sheen = Hot Rod
  | ja = ドロップ率はあくまでも推定値です。
+
}}
  | ko = 획득률은 예상치입니다.
+
</pre>
  | nl = Vindkans is alleen een schatting.
+
|{{Backpack item
  | pl = Szacowana szansa na wypakowanie jest szacunkową wartością ustaloną przez Valve.
+
| item-name = Flare Gun
  | pt-br = A taxa de obtenção é apenas uma estimativa.
+
| item-kind = Flare Gun
  | ru = Шанс находки является примерным.
+
| item-level = 10
  | tr = Düşme oranı sadece tahminidir.
+
| prefix = Professional Killstreak
  | zh-hans = 掉落几率只是一个估测值。
+
| item-description = This weapon will reload when not active
  | zh-hant = 掉落機率是估計推測後的機率。
+
| att-1-positive  = 100% critical hit vs burning players
}}{{#if:{{{decorated|}}}|
+
| att-2-positive  = Killstreaker: Singularity
  {{!-}}
+
| att-3-positive   = Sheen: Hot Rod
  {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
+
| att-4-positive  = Killstreaks Active
    | en = {{Item link|Decorated}} weapons obtained from this crate may be {{Item link|Strange}} or {{Item link|Unusual}}.
 
    | da = {{Item link|Decorated}} våben fra denne kasse kan være {{Item link|Strange}} eller {{Item link|Unusual}}.
 
    | de = Dekorierte Waffen aus dieser Kiste können von der Qualität {{Item link|Strange}} oder {{Item link|Unusual}} sein.
 
    | ja = このケースから入手できる{{Item link|Decorated}}武器には{{Item link|Strange}}や{{Item link|Unusual}}のものも含まれます。
 
    | ko = 이 상자에서 얻은 {{Item link|Decorated}}된 무기는 {{Item link|Strange}} 등급이나 {{Item link|Unusual}} 등급일 수도 있습니다.
 
    | pl = {{Item link|Decorated}} bronie otrzymane z tej skrzyni mogą posiadać jakość {{Item link|Strange}} lub {{Item link|Unusual}}.
 
    | pt-br = Armas {{Item link|Decorated}} obtidas desta caixa podem ser de qualidade {{Item link|Strange}} e/ou {{Item link|Unusual}}.
 
    | ru = {{Item link|Decorated}} оружие, полученное из этого ящика, может быть странного или {{Item link|Unusual}}.
 
  }}
 
}}{{#if:{{{strange|}}} |
 
  {{!-}}
 
  {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Weapons obtained from this crate will have the {{Item link|Strange}} quality.
 
    | cs = Zbraně získané z této krabice budou ve {{Item link|Strange}} verzi.
 
    | da = Våben fra denne kasse vil have den {{Item link|Strange}} kvalitet.
 
    | de = Alle gefundenen Waffen aus dieser Kiste haben die Qualität {{Item link|Strange}}.
 
    | es = Las armas obtenidas de esta caja tendrán calidad {{Item link|Strange}}.
 
    | fi = Tästä laatikosta löytyvät aseet ovat {{Item link|Strange}}.
 
    | fr = Les armes se trouvant dans cette caisse seront toutes de qualité {{Item link|Strange}}.
 
    | hu = Ebben a ládában található fegyverek {{Item link|Strange}} ritkaságúak lesznek.
 
    | it = Le armi ottenute da queste casse avranno la qualità {{Item link|Strange}}.
 
    | ja = この物資箱に入っている武器は{{Item link|Strange}}クオリティの物です。
 
    | ko = 이 상자에서 얻은 무기들은 {{Item link|Strange}} 등급입니다.
 
    | nl = Wapens verkregen uit deze kist zullen in de {{Item link|Strange}} kwaliteit zijn.
 
    | pl = Bronie otrzymane z tej skrzynki będą posiadały jakość {{Item link|Strange}}.
 
    | pt-br = Armas obtidas desta caixa terão a qualidade {{Item link|Strange}}.
 
    | ru = Оружие, полученное из этого ящика, будет {{Item link|Strange}}.
 
    | tr = Bu kutudan elde edilen silahlar {{Item link|Strange}} niteliğine sahip olacaklardır.
 
    | zh-hans = 通过此箱子获得的武器均为{{Item link|Strange}}品质。
 
    | zh-hant = 從這箱子拿到的武器,將會是{{Item link|Strange}}屬性的武器。
 
  }}
 
}}{{#if:{{{haunted|}}} |
 
  {{!-}}
 
   {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Items obtained from this crate will have the {{Item link| Haunted}} quality.
 
    | cs = Zbraně získané z této krabice budou ve {{Item link|Haunted}} verzi.
 
    | da = Genstande fra denne kasse vil have den {{Item link|Haunted}} kvalitet.
 
    | de = Alle gefundenen Waffen aus dieser Kiste haben die Qualität {{Item link|Haunted}}.
 
    | es = Las armas obtenidas de esta caja tendrán calidad {{Item link|Haunted}}.
 
    | fi = Tästä laatikosta löytyvät aseet ovat {{Item link|Haunted}}.
 
    | fr = Les objets se trouvant dans cette caisse seront tous de qualité {{Item link|Haunted}}e.
 
    | hu = Ebben a ládában található fegyverek {{Item link|Haunted}} ritkaságúak lesznek.
 
    | it = Le armi ottenute da queste casse avranno la qualità {{Item link|Haunted}}.
 
    | ja = この物資箱に入っているアイテムは{{Item link|Haunted}}クオリティのものです。
 
    | ko = 이 상자에서 얻은 무기들은 {{Item link|Haunted}} 등급입니다.
 
    | nl = Wapens verkregen uit deze kist zullen in de {{Item link| Haunted}} kwaliteit zijn.
 
    | pl = Przedmioty otrzymane z tej skrzynki będą posiadały jakość {{Item link|Haunted}}.
 
    | pt-br = Itens obtidos desta caixa terão a qualidade {{Item link|Haunted}}.
 
    | ru = Оружие, полученное из этого ящика, будет {{Item link|Haunted}}.
 
    | tr = Bu kutudan elde edilen eşyalar {{Item link|Haunted}} niteliğine sahip olacaklardır.
 
    | zh-hans = 通过此箱子获得的物品均为{{Item link|Haunted}}品质。
 
    | zh-hant = 從這箱子拿到的物品,將會是{{Item link|Haunted}}屬性的物品。
 
  }}
 
}}{{#if:{{{strange-some|}}}|
 
  {{!-}}
 
  {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Items obtained from this crate might have the {{Item link|Strange}} quality.
 
    | cs = Některé zbraně získané z této krabice budou ve {{Item link|Strange}} verzi.
 
    | da = Genstande fra denne kasse kan have den {{Item link|Strange}} kvalitet.
 
    | de = Waffen aus dieser Kiste können die Qualität {{Item link|Strange}} haben.
 
    | es = Las armas obtenidas de esta caja tendrán calidad {{Item link|Strange}}.
 
    | fi = Tästä laatikosta löytyvät esineet saattavat olla {{Item link|Strange}}.
 
    | fr = Les armes se trouvant dans cette caisse peuvent être de qualité {{Item link|Strange}}.
 
    | hu = Pár fegyver ebből a ládából {{Item link|Strange}} ritkaságú lesz.
 
    | ja = この物資箱に入っているアイテムには{{Item link|Strange}}クオリティのものも含まれています。
 
    | ko = 이 상자에서 얻은 아이템들은 {{Item link|Strange}} 등급일 수도 있습니다.
 
    | nl = Wapens verkregen uit deze kist kunnen in de {{Item link|Strange}} kwaliteit zijn.
 
    | pl = Przedmioty otrzymane z tej skrzynki mogą posiadać jakość Kuriozum.
 
    | pt-br = Itens obtidos desta caixa podem ter a qualidade {{Item link|Strange}}.
 
    | ru = Оружие, полученное из этого ящика, может оказаться {{Item link|Strange}}.
 
    | tr = Bu kutudan elde edilen eşyalar {{Item link|Strange}} niteliğine sahip olabilir.
 
    | zh-hans = 通过此箱子获得的武器可能为{{Item link|Strange}}品质。 
 
    | zh-hant = 從這箱子拿到的武器,'''可能'''會是{{Item link|Strange}}屬性的武器。
 
  }}
 
}}{{#if:{{{strange-dual|}}} |
 
  {{!-}}
 
  {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Weapons obtained from this crate will have the {{Item link|Strange}} quality and Cosmetics might have the Strange quality.
 
    | da = Våben fra denne kasse vil have den {{Item link|Strange}} kvalitet, og Kosmetiske genstande kan have den Sære kvalitet.
 
    | de = Waffen aus dieser Kiste haben die Qualität {{Item link|Strange}}, kosmetische Gegenstände aus dieser Kiste können die Qualität {{Item link|Strange}} haben.
 
    | ja = この物資箱に入っている武器は{{Item link|Strange}}クオリティです。装飾アイテムにも{{Item link|Strange}}クオリティのものが含まれます。
 
    | ko = 이 상자에서 얻은 무기와 장식 아이템들은 {{Item link|Strange}} 등급입니다.
 
    | pl = Bronie otrzymane z tej skrzynki będą posiadały jakość {{Item link|Strange}}, a przedmioty kosmetyczne mogą posiadać jakość Kuriozum. 
 
    | pt-br = Armas obtidas desta caixa terão a qualidade {{Item link|Strange}} e Cosméticos podem ter a qualidade Estranha.
 
    | ru = Оружие, полученное из этого ящика, будет {{Item link|Strange}}, кроме того аксессуары тоже могут оказаться странного типа.
 
    | zh-hant = 從這箱子拿到的武器將會是{{Item link|Strange}}屬性,裝飾品則'''可能'''會是奇異屬性。
 
  }}
 
}}{{#if:{{{some-spec-prof|}}}
 
  {{!-}}
 
  {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Killstreak Kits obtained from this crate may be of Specialized or Professional grade.
 
    | da = {{item link|Killstreak Kit}}s fra denne kasse kan være af den Specialiserede eller professionelle grad.
 
    | de = Tötungsserien-Kits aus dieser Kiste können vom Grad spezialisiert oder professionell sein.
 
    | ja = この物資箱から入手できるキルストリークキットは Specialized または Professional の可能性があります。
 
    | ko = 이 상자에서 얻은 연속 처치 장비들은 특화나 전문 장비일 수도 있습니다.
 
    | pl = Zestawy z serią zabójstw otrzymane z tej skrzynki mogą być Wyspecjalizowane lub Profesjonalne.
 
    | pt-br = Kits de Combo obtidos desta caixa podem ser Especializados ou Profissionais.
 
    | ru = Наборы серийного убийцы могут быть особо опасного или профессионального убийцы.
 
    | zh-hans = 通过此箱子获得的连杀工具包可能为专业或职业级别。
 
    | zh-hant = 從這箱子拿到的連殺記錄器,'''可能'''會是特殊級或專業級的連殺記錄器。
 
  }}
 
}}{{#if:{{{halloweenUnu|}}}|
 
  {{!-}}
 
   {{!}} colspan="3" style="background:#dee8ed; text-align:center;" {{!}} {{lang
 
    | en = Contents may be Strange or Unusual with a Halloween 2016 effect
 
    | da = Indhold kan være Sært eller Udsædvanligt med en Halloween 2016 effekt
 
    | de = Gegenstände aus dieser Kiste können Seltsam oder Ungewöhnlich mit einem Halloween 2016 Effekt sein.
 
    | pl = Zawartość może być w jakości Kuriozum lub Nietypowy Okaz z efektem z Halloween 2016.
 
    | pt-br = Conteúdo pode ser Estranho e/ou Incomum com efeito do Dia das Bruxas de 2016
 
    | ru = Предметы могут быть странного или необычного типа с особым эффектом Хеллоуина 2016.
 
  }}
 
 
}}
 
}}
|}<noinclude>
+
|{{#invoke:Backpack item|backpack_item
{{update trans|See last string for some-spec-prof parameter. strange-some section needs updating too.}}
+
| item-name = Flare Gun
{{translation switching|en, da, de, pl, pt-br, ru}}
+
| item-kind = Flare Gun
{{doc begin}}
+
| item-level = 10
=== Example ===
+
| prefix = Professional Killstreak
<pre>
+
| item-description = This weapon will reload when not active
{{Crate series table
+
| att-1-positive  = 100% critical hit vs burning players
| collapsed          = no
+
| att-2-positive  = Killstreaker: Singularity
 
+
| att-3-positive  = Sheen: Hot Rod
| series            = 21
+
| att-4-positive  = Killstreaks Active
| drops              = yes
+
}}
 
+
|-
| item1              = Gloves of Running Urgently
+
|<pre>
| rate1              = 22.25
+
{{#invoke:Backpack item|backpack_item
 
+
| quality = normal
| item2              = Shotgun
+
| item-name = Tomislav
| rate2              = 22.25
+
| item-kind = Tomislav
 
+
| item-level = 1
| item3              = Minigun
+
| festivized = yes
| rate3              = 22.25
 
 
 
| item4              = Natascha
 
| rate4              = 22.25
 
 
 
| item5              = Hound Dog
 
| rate5              = 5
 
 
 
| item6              = Football Helmet
 
| rate6              = 5
 
 
 
| rateU              = 1
 
| strange            = yes
 
 
}}
 
}}
 
</pre>
 
</pre>
{{User:Darkid/Sandbox2
+
|{{Backpack item
| collapsed          = no
+
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Name Tag
 +
| item-level = 1
 +
| item-kind = Tool
 +
| att-1-neutral = Changes the name of an item in your backpack
 +
| item-uses = 1
 +
| item-flags = Not Tradable or Marketable
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Name Tag
 +
| item-level = 1
 +
| item-kind = Tool
 +
| att-1-neutral = Changes the name of an item in your backpack
 +
| item-uses = 1
 +
| item-flags = Not Tradable or Marketable
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Name Tag
 +
| item-level = 1
 +
| item-kind = Tool
 +
| att-1-neutral = Changes the name of an item in your backpack
 +
| item-uses = 1
 +
| item-flags = Not Tradable or Marketable
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Heavy Costume Transmogrifier
 +
| custom-icon = Backpack Costume Transmogrifier Heavy.png
 +
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
 +
| item-level = 1
 +
| item-kind = Tool
 +
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Heavy Costume Transmogrifier
 +
| custom-icon = Backpack Costume Transmogrifier Heavy.png
 +
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
 +
| item-level = 1
 +
| item-kind = Tool
 +
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Heavy Costume Transmogrifier
 +
| custom-icon = Backpack Costume Transmogrifier Heavy.png
 +
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
 +
| item-level = 1
 +
| item-kind = Tool
 +
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Shotgun
 +
| quality = Strange
 +
| festivized = yes
 +
| killstreak = professional
 +
| filter = yukon
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Shotgun
 +
| quality = Strange
 +
| festivized = yes
 +
| killstreak = professional
 +
| filter = yukon
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Shotgun
 +
| quality = Strange
 +
| festivized = yes
 +
| killstreak = professional
 +
| filter = yukon
 +
}}
 +
|}
  
| series            = 21
+
== See also ==
| drops              = yes
+
{{Image insertion templates list}}
 
 
| item1              = Gloves of Running Urgently
 
| rate1              = 22.25
 
 
 
| item2              = Shotgun
 
| rate2              = 22.25
 
 
 
| item3              = Minigun
 
| rate3              = 22.25
 
 
 
| item4              = Natascha
 
| rate4              = 22.25
 
 
 
| item5              = Hound Dog
 
| rate5              = 5
 
 
 
| item6              = Football Helmet
 
| rate6              = 5
 
 
 
| rateU              = 1
 
| strange            = yes
 
}}
 
  
=== Parameters ===
+
<noinclude>[[Category:Template documentation|Backpack item]]</noinclude>
:; ''collapsed''
 
:: Set {{code|no}} if the table should initially be collapsed. Remove this parameter if the table should not be collapsed.
 
:; ''series''
 
:: Crate series number.
 
:; ''drops''
 
:: Set {{code|yes}} if it does drop. Set {{code|no}} if it doesn't drop. Default is {{code|no}}.
 
:; ''item#'' (Numbers 1-22)
 
:: The name of the item.
 
:; ''rate#'' (Numbers 1-22)
 
:: The estimated drop rate of the specified item.
 
:; ''rateU''
 
:: The estimated drop rate of an Exceedingly Rare Special Item!
 
:; ''strange''
 
:: Set {{code|yes}} if weapons uncrated '''will''' have the Strange quality. Remove this parameter if weapons do not have the Strange quality.
 
:; ''strange-some''
 
:: Set {{code|yes}} if items uncrated '''might''' have the Strange quality. Remove this parameter if items do not have the Strange quality.
 
:; ''strange-dual''
 
:: Set {{code|yes}} if ''weapons'' uncrated '''will''' and ''cosmetics'' uncrated '''might''' have the Strange quality. Remove this parameter if items do not have the Strange quality.
 
:; ''haunted''
 
:: Set to anything if ordinary hats/misc items uncrated '''will''' have the Haunted quality. Remove this parameter if hats/misc items do not have the Haunted quality.
 
:; ''decorated''
 
:: Set to anything if ordinary weapons uncrated '''may''' be strange or unusual. Remove this parameter if weapons do not have the Decorated quality.
 
:; ''halloweenU''
 
:: Set to anything if the Unusuals are halloween themed.
 
:; ''weaponU''
 
:: Set to anything if the Unusuals are unusual weapons.
 
</noinclude>
 

Latest revision as of 19:50, 25 May 2019

This template is used to display item stats similar to how they appear in-game.

Parameters

Parameter Example Description
item-name Batter's Helmet Proper item name in English (e.g. Batter's Helmet instead of Casque de Batteur). The item name will be automatically translated on language subpages.
custom-name Spam Hammer Adds a custom name with quotation marks. Still needs item-name to produce the correct image.
no-custom-name-quotes yes Removes quotation marks from custom names if the custom-name field is used.
custom-icon File:User Username my item icon.png Adds a custom icon for users' own purposes. This parameter is independent from item-name parameter.
quality normal Defaults to "unique" (the standard item yellow). See Item quality for a list of accepted values.
prefix none
The Best
Set to "none" to hide the "Vintage" or "Community", etc, prefix but keeping the colour. Can also use a custom value, e.g. "prefix = The Best" will generate "The Best Flare Gun".
suffix none
The Best
Same as 'prefix' for non-en pages. Can also use a custom value, e.g. "suffix = The Best" will generate "Flare Gun The Best".
filter Coldfront Adds the appropriate Strange Filter prefix / suffix to the weapon.
paint-color Mann Co. Orange Adds the colored paint 'splat' specified to the top right of the item icon.
unusual-effect Bubbling Adds the Particle Effect icon to the top right of the item's icon. Also adds the "Unusual Effect:" line.
strange-icon yes Adds the Strange/StatTrack icon to the top right of the item's icon.
decal-icon yes Adds this icon to the top right of the item's icon. Only used on the Items page.
Attributes
item-level 50 Item level. Defaults to "1-100".
item-kind Hat Item kind. This string is not automatically translated.
no-level yes Optional attribute. If "yes", item level will not be displayed.
limited yes Optional attribute. If "yes", the item name will be colored yellow, the word "Limited" will be added with a link to Limited Quantity.
grade elite Optional attribute. If specified, the item name will be colored correctly for the grade, and the name of the grade will be added before the name, e.g.: Elite Grade Rocket Launcher. Valid options are Civilian, Freelance, Mercenary, Commando, Assassin, Elite
wear factory new Optional attribute, for decorated weapons. Listed in parenthesis after the item name, e.g.: Rocket Launcher (Factory New). Valid options are Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, Factory New.
rankson Kills Primary stat method for a strange weapon.
killcount 7616 Number of kills for the primary rank method.
rankson2 Kill assists or Damage dealt Secondary rank method or strange part. rankson3 and rankson4 work similarly.
killcount2 12 Number of kills for the secondary rank method or first strange part. killcount3 and killcount4 work similarly.

att-n-neutral
att-n-positive
att-n-negative

att-1-neutral = Cloak Type: Feign Death
att-2-positive = +80% cloak regen rate
att-3-negative = +60% cloak drain rate
(See section on examples below)

Displays up to 8 positive, negative and neutral values.
item-description It doesn't matter how much people respect you when they're on fire. For items that have an in-game description. This displays the description in a smaller font in order to distinguish from neutral attributes. Will not display if a custom-description is set.
custom-description This hat is the greatest. For items that have a custom in-game description (from a Description Tag). Displays like a normal description but has quotation marks surrounding it.
gift-from Robin Display the source of a gifted item. Displays the text "Gift from: Robin"
date-received Mar 23, 2011 (06:30:00) Display the date a gifted item was received. Will not appear if no gift-from is defined. Displays the text "Date Received: Mar 23, 2011 (06:30:00)"
item-expiration Dec 31, 2010 (23:00:00) For items that expire. Displays the text "This item will expire on Dec 31, 2010 (23:00:00).".
item-uses 5 For items that have "uses". Displays the text "This is a limited item. Uses: 5".
item-flags Not Tradable or Usable in Crafting For item flags. Displays them inside brackets: "( Not Tradable or Usable in Crafting )".
festivized yes For items which have been Festivized. Displays the text "Festivized".
Styling
width 25% Width parameter. Defaults to 100% in infoboxes, but for other usages, can be any value (%, px, pt, em).
style Style parameter. Can add any valid CSS style to the main div.

Examples

Code Old Output New Output
{{#invoke:Backpack item|backpack_item
| item-name = Cloak and Dagger
| item-level = 5 
| item-kind = Invis Watch
| att-1-neutral = Cloak Type: Feign Death
| att-2-positive = +80% cloak regen rate
| att-3-negative = +60% cloak drain rate
}}
Backpack Cloak and Dagger.png

Cloak and Dagger
Level 5 Invis Watch
Cloak Type: Feign Death
+80% cloak regen rate
+60% cloak drain rate

Backpack Cloak and Dagger.png
Cloak and Dagger
Template:Dictionary/common strings/backpack item level Invis Watch
Cloak Type: Feign Death
+80% cloak regen rate
+60% cloak drain rate
{{#invoke:Backpack item|backpack_item
| item-name = Rocket Launcher
| custom-name = Rawket Lawnchair
| quality = vintage
| item-level = 50
| item-kind = Furniture
| att-1-positive = +20% additional comfort
| att-2-positive = +35% increase in lumbar support
| att-3-negative = +50% increase in financial hardship
| custom-description = For those who favour comfort over fiscal stability.
}}
Backpack Rocket Launcher.png

"Rawket Lawnchair"
Level 50 Furniture
+20% additional comfort
+35% increase in lumbar support
+50% increase in financial hardship
"For those who favour comfort over fiscal stability."

Backpack Rocket Launcher.png
"Rawket Lawnchair"
Template:Dictionary/common strings/backpack item level Furniture
+20% additional comfort
+35% increase in lumbar support
+50% increase in financial hardship
 
"For those who favour comfort over fiscal stability."
{{#invoke:Backpack item|backpack_item
| item-name = Wiki Cap
| quality = community
| item-kind = Hat
| item-level = 20
| item-flags = Not Tradable or Usable in Crafting
| unusual-effect = Community Sparkle
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br>http://wiki.teamfortress.com/
}}
Viewmode unusual.png
Backpack Wiki Cap.png

Community Wiki Cap
Level 20 Hat
★ Unusual Effect: Community Sparkle
Given to valuable Community Contributors
Given to valuable contributors to the official TF2 Wiki
http://wiki.teamfortress.com/


( Not Tradable or Usable in Crafting )

Viewmode unusual.png
Backpack Wiki Cap.png
Community Wiki Cap
Template:Dictionary/common strings/backpack item level Hat
Template:Dictionary/common strings/backpack item unusual effect
 
Given to valuable Community Contributors
Given to valuable contributors to the official TF2 Wiki
http://wiki.teamfortress.com/


( Not Tradable or Usable in Crafting )
{{#invoke:Backpack item|backpack_item
| item-name = Tux
| limited = yes
| item-kind = Mascot
| item-level = 1-100
| item-description = Linux represent!
}}
Backpack Tux.png

Tux
Limited Level 1-100 Mascot
Linux represent!

{{#invoke:Backpack item|backpack_item
| item-name = Citizen Pain
| item-kind = Minigun
| grade = Assassin
| wear = Battle Scarred
}}
Backpack Citizen Pain Minigun Battle Scarred.png

Template:Dictionary/items/citizen pain
Assassin Grade Minigun (Battle Scarred)

Backpack Citizen Pain Minigun Battle Scarred.png
Template:Dictionary/items/citizen pain
Assassin Grade Minigun (Battle Scarred)
{{#invoke:Backpack item|backpack_item
| item-name = A Hat to Kill For
| item-kind = Hat
| grade = Civilian
}}
Backpack A Hat to Kill For.png

A Hat to Kill For
Civilian Grade Hat
Hat

Backpack A Hat to Kill For.png
A Hat to Kill For
Civilian Grade Hat
{{#invoke:Backpack item|backpack_item
| item-name = Medigun
| item-kind = Medi Gun
| quality = Strange
| strange-icon = yes
| rankson = Ubers
| killcount = 20
| rankson2 = Kill assists
| killcount2 = 300
| rankson3 = Allied Healing Done
| killcount3 = 10000
}}
Viewmode strange.png
Backpack Medi Gun.png

Unremarkable Medi Gun
Unremarkable Medi Gun - Ubers: 20
(Kill Assists: 300)
(Allied Healing Done: 10000)

Viewmode strange.png
Backpack Medi Gun.png
Unremarkable Medi Gun
Unremarkable Medi Gun - Ubers: 20
(Kill Assists: 300)
(Allied Healing Done: 10000)
{{#invoke:Backpack item|backpack_item
| item-name = Burstchester
| item-kind = Special Taunt
| rankson = Times Performed
| quality = Strange Unusual
| unusual-effect = Mega Strike
| grade = Assassin
| prefix = Taunt:
}}
Viewmode unusual.png
Backpack Burstchester.png

Taunt: Burstchester
Assassin Grade Special Taunt
Special Taunt - Times Performed: 0

★ Unusual Effect: Mega Strike

Viewmode unusual.png
Backpack Burstchester.png
taunt: Burstchester
{{#invoke:Backpack item|backpack_item
| item-name = Forest Fire
| item-kind = Flame Thrower
| quality = Strange
| grade = Mercenary
| wear = Well-Worn
| rankson = Kills
| killcount = 10
}}
Backpack Forest Fire Flame Thrower Well-Worn.png

Unremarkable Template:Dictionary/items/forest fire
Mercenary Grade Flame Thrower (Well-Worn)
Unremarkable Stat Clock Attached
Kills: 10

Backpack Forest Fire Flame Thrower Well-Worn.png
Unremarkable Template:Dictionary/items/forest fire
Mercenary Grade Flame Thrower (Well-Worn)
{{#invoke:Backpack item|backpack_item
| item-name = Co-Pilot
| item-kind = Hat
| limited = yes
| quality = Strange
| rankson = points scored
| killcount = 75
| description = Winter 2014 Limited Community Cosmetic
}}
Backpack Co-Pilot.png

Odious Co-Pilot
Limited Odious Hat - Points Scored: 75

Backpack Co-Pilot.png
Odious Co-Pilot
[[Limited Quantity|Template:Dictionary/common strings/backpack item limited]] Odious Hat - Points Scored: 75
{{#invoke:Backpack item|backpack_item
| item-name = Sniper Rifle
| item-kind = Sniper Rifle
| quality = Strange
| strange-icon = yes
| filter = yukon
| rankson = kills
| killcount = 999
}}
Viewmode strange.png
Backpack Sniper Rifle.png

Totally Ordinary Canadian Sniper Rifle
Totally Ordinary Sniper Rifle - Kills: 999

Viewmode strange.png
Backpack Sniper Rifle.png
Totally Ordinary Canadian Sniper Rifle
Totally Ordinary Sniper Rifle - Kills: 999
{{#invoke:Backpack item|backpack_item
| item-name = Max's Severed Head
| item-kind = Hat
| limited = yes
| paint-color = Team Spirit
}}
Paint Splat TeamSpirit.png
Backpack Max's Severed Head.png

Max's Severed Head
Limited Level 1 - 100 Hat

{{#invoke:Backpack item|backpack_item
| item-name = Flare Gun
| item-kind = Flare Gun
| item-level = 10
| item-description = This weapon will reload when not active
| att-1-positive   = 100% critical hit vs burning players
| killstreak = professional // Killstreaks Active + changes prefix to "Professional Killstreak"
| killstreaker = Singularity // adds "Killstreaker: " line 
| sheen = Hot Rod
}}
Backpack Flare Gun.png

Professional Killstreak Flare Gun
Level 10 Flare Gun
100% critical hit vs burning players
Killstreaker: Singularity
Sheen: Hot Rod
Killstreaks Active
This weapon will reload when not active

Backpack Flare Gun.png
professional killstreak Flare Gun
Template:Dictionary/common strings/backpack item level Flare Gun
100% critical hit vs burning players
Killstreaker: Singularity
Sheen: Hot Rod
Killstreaks Active
 
This weapon will reload when not active
{{#invoke:Backpack item|backpack_item
| quality = normal
| item-name = Tomislav
| item-kind = Tomislav
| item-level = 1
| festivized = yes
}}
Backpack Tomislav.png

Tomislav
Level 1 Tomislav

{{#invoke:Backpack item|backpack_item
| item-name = Jarate
| item-level = 5
| item-kind = Jar Based Karate
| gift-from = Darkid
| date-received = Wednesday, January 4, 2017
}}
Backpack Jarate.png

Jarate
Level 5 Jar Based Karate

Gift from: Darkid
Date Received: Wednesday, January 4, 2017

{{#invoke:Backpack item|backpack_item
| item-name = Name Tag
| item-level = 1
| item-kind = Tool
| att-1-neutral = Changes the name of an item in your backpack
| item-uses = 1
| item-flags = Not Tradable or Marketable
}}
Backpack Name Tag.png

Name Tag
Level 1 Tool
Changes the name of an item in your backpack

This is a limited use item. Uses: 1

( Not Tradable or Marketable )

Backpack Name Tag.png
Name Tag
Template:Dictionary/common strings/backpack item level Tool
Changes the name of an item in your backpack

Template:Dictionary/common strings/backpack item item uses

( Not Tradable or Marketable )
{{#invoke:Backpack item|backpack_item
| item-name = Heavy Costume Transmogrifier
| custom-icon = Backpack Costume Transmogrifier Heavy.png
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
| item-level = 1
| item-kind = Tool
| item-expiration = Monday, November 11, 2013 (6:00:00)
| item-uses = 1
}}
Backpack Costume Transmogrifier Heavy.png

Heavy Costume Transmogrifier
Level 1 Tool
Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.

This item will expire on Monday, November 11, 2013 (6:00:00).

This is a limited use item. Uses: 1

Backpack Costume Transmogrifier Heavy.png
Heavy Costume Transmogrifier
Template:Dictionary/common strings/backpack item level Tool
 
Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.

Template:Dictionary/common strings/backpack item item expiration

Template:Dictionary/common strings/backpack item item uses
{{#invoke:Backpack item|backpack_item
| item-name = Shotgun
| quality = Strange
| festivized = yes
| killstreak = professional
| filter = yukon
}}
Backpack Shotgun.png

Canadian Shotgun
1 - 100

See also

Image insertion templatesview  edit )