Difference between revisions of "User:Darkid/Sandbox2"

From Team Fortress Wiki
Jump to: navigation, search
 
(68 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Ambox
+
<includeonly>{{Complex template|user=Darkid}}</includeonly>
| image    = Tam O'Shatter Icon.png
+
This template is used to display item stats similar to how they appear in-game.
| type    = content
 
| contents = {{ambox/message
 
| 1 = {{lang
 
    | en = Oh dear, I've made quite a mess.
 
    | ar = أوه دير, ايف ميد كويت أ مس.
 
    | de = Was hab ich da nur angerichtet?
 
    | es = Caramba, menudo lío he montado.
 
    | fi = Voi jehna, mikä sotku.
 
    | fr = Oh, regardez un peu ce que j'ai fais
 
    | hu = Ó jaj, micsoda rendetlenséget okoztam.
 
    | ja = おや、なにやら散らかっているようだな。
 
    | ko = 아 이런, 내가 문제를 좀 일으켰군.
 
    | no = Oi da, jeg har laget litt av et rot.
 
    | nl = Oh nee, ik heb er een zootje van gemaakt.
 
    | pl = O rany, narobiłem tu niezłego bałaganu.
 
    | pt = Oh céus, fiz uma enorme bagunça.
 
    | pt-br = Oh céus, fiz uma enorme bagunça.
 
    | ro = Vai, am făcut un dezastru.
 
    | ru = О, Боже! Что я тут устроил!
 
    | sv = Oj, jag har gjort en hel röra.
 
    | tr = Amanin, bayağı batırmışım.
 
    | zh-hans = 哎呀,我把这弄得乱七八糟的。
 
    | zh-hant = 我的天啊,我把這裡弄得一團糟。
 
    }}
 
| 2 = {{lang
 
    | en = This page has been marked for general cleanup. Reason given: <span style="font-weight:normal;">''{{{1|{{{reason|none given}}}}}}''</span>
 
    | ar = وقد الصفحة تميزت هذه لتطهير عامة.
 
    | de = Diese Seite wurde für allgemeines Aufräumen markiert.
 
    | es = Esta página ha sido señalada para una limpieza general.
 
    | fi = Tämä sivu on merkitty yleistä siivousta varten. Annettu syy: <span style="font-weight:normal;">''{{{1|{{{reason|syytä ei ole annettu}}}}}}''</span>
 
    | fr = Cette page a été marquée pour un nettoyage général.
 
    | hu = Ezt az oldalt általános takarításra jelölték.
 
    | ja = このページの内容は情報の整理が必要です。
 
    | ko = 이 페이지에 있는 자료를 정리할 필요가 있습니다.
 
    | no = Denne siden er blitt markert for en generell opprydding.
 
    | nl = Deze pagina moet worden veranderd en schoongemaakt.
 
    | pl = Ta strona została oznaczona do ogólnego oczyszczenia.
 
    | pt = Esta página foi marcada para limpeza geral.
 
    | pt-br = Esta página foi marcada para limpeza geral.
 
    | ro = Această pagină a fost marcată pentru curăţenie generală.
 
    | ru = Эта статья или раздел нуждается в переработке. Причина: <span style="font-weight:normal;">''{{{1|{{{reason|не указана}}}}}}''</span>
 
    | sv = Detta har markerats för allmän rengöring.
 
    | tr = Bu sayfa genel bir temizlik için işaretlendi.
 
    | zh-hans = 此页面已被标记为需要清理内容。给出的原因: <span style="font-weight:normal;">''{{{1|{{{reason|未给出}}}}}}''</span>
 
    | zh-hant = 這一頁已經加上需要大幅整理的標記。原因:<span style="font-weight:normal;">''{{{1|{{{reason|none given}}}}}}''</span>
 
    }}
 
| 3 = {{lang
 
    | en = Please see [[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
 
    | ar = يرجى الاطلاع على [[Help:Style guide|تيم فورتريسس ويكي ستايل جيد]] للحصول على معلومات حول كيفية تحسين هذه المقالة.
 
    | de = Bitte beachte den [[Help:Style guide|Team Fortress Wiki Style Guide]] für Informationen, wie man diesen Artikel verbessern könnte.
 
    | es = Por favor, vea la [[Help:Style guide|Guía de estilo de la Wiki de Team Fortress]] para informarse de como mejorar este artículo.
 
    | fi = Ole hyvä ja katso [[Help:Style guide|Team Fortress Wikin tyylioppaasta]] ohjeita tämän artikkelin parantamiseen.
 
    | fr = Veuillez regardez le [[Help:Style guide|Guide de Style Team Fortress Wiki]] (en anglais) pour des informations sur comment améliorer cet article.
 
    | hu = Kérlek olvasd át a [[Help:Style guide|Team Fortress Wiki stílus-irányelveit]], ahol megtudhatod, hogyan javíthatnál ezen a szócikken.
 
    | ja = この記事をより良いものにするためには[[Help:Style guide|Team Fortress Wiki スタイル・ガイド]]をご覧ください。
 
    | ko = [[Help:Style guide|팀포트리스 2 위키 양식 안내]]를 참조해서 문서를 정리해 주세요.
 
    | no = Vennligst se [[Help:Style guide|Team Fortress Wiki style guide]] for informasjon om hvordan du kan forbedre denne artikkelen.
 
    | nl = Lees alstublieft de [[Help:Style guide|Team Fortress Wiki style guide]], hoe u dit artikel kan verbeteren.
 
    | pl = Zajrzyj do [[Help:Style guide|poradnika stylistycznego Team Fortress Wiki]] po informacje jak poprawić ten artykuł.
 
    | pt = Por favor vejas [[Help:Style guide|o guia de estilo da Team Fortress Wiki]] para informações em como melhorar este artigo.
 
    | pt-br = Por favor veja [[Help:Style guide|o guia de estilo da Wiki do Team Fortress]] para informações em como melhorar este artigo.
 
    | ro = Vă rugăm să consultaţi [[Help:Style guide|Team Fortress Wiki style guide]] pentru informaţii legate de imptrovizarea acestui articol.
 
    | ru = Пожалуйста, улучшите статью в соответствии с [[Help:Style guide|руководством по стилю]].
 
    | sv = Snälla se [[Help:Style guide|Team Fortress Wiki style guide]] för information om hur man kan förbättra den här artikeln.
 
    | tr = Lütfen bu makaleyi nasıl geliştirebileceğinize dair bilgi almak için [[Help:Style guide|Team Fortress Wiki tarz kılavuzu]]na bakınız.
 
    | zh-hans = 请参见[[Help:Style guide|军团要塞维基向导页面]]来了解如何去完善此文章。
 
    | zh-hant = 請查閱[[Help:Style guide|絕地要塞官方維基百科求助頁]],以得知如何改善這一頁的更多資訊。
 
    }}
 
}}
 
}}<includeonly>{{if lang
 
| en    = [[Category:Articles marked for cleanup|{{PAGENAME}}]]
 
| non-en = [[Category:Articles marked for cleanup{{if lang}}|{{BASEPAGENAME}}]]
 
}}</includeonly><noinclude>
 
{{translation switching|en, ar, de, es, fi, fr, hu, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
== Usage ==
 
* Place {{tl|cleanup}} on any page that needs cleaning up, placing it in [[:Category:Articles marked for cleanup]]. Non-English pages with the tag will be placed into a category corresponding to their language code, e.g.: [[:Category:Articles marked for cleanup/es]].
 
  
[[Category:Maintenance templates|Cleanup]]
+
== Parameters ==
</noinclude>
+
{| 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
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Sniper Rifle
 +
| item-kind = Sniper Rifle
 +
| quality = Strange
 +
| strange-icon = yes
 +
| filter = yukon
 +
| rankson = kills
 +
| killcount = 999
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Sniper Rifle
 +
| item-kind = Sniper Rifle
 +
| quality = Strange
 +
| strange-icon = yes
 +
| filter = yukon
 +
| rankson = kills
 +
| killcount = 999
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Sniper Rifle
 +
| item-kind = Sniper Rifle
 +
| quality = Strange
 +
| strange-icon = yes
 +
| filter = yukon
 +
| rankson = kills
 +
| killcount = 999
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
|-
 +
|<pre>
 +
{{#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
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Flare Gun
 +
| item-kind = Flare Gun
 +
| item-level = 10
 +
| prefix = Professional Killstreak
 +
| item-description = This weapon will reload when not active
 +
| att-1-positive  = 100% critical hit vs burning players
 +
| att-2-positive  = Killstreaker: Singularity
 +
| att-3-positive  = Sheen: Hot Rod
 +
| att-4-positive  = Killstreaks Active
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Flare Gun
 +
| item-kind = Flare Gun
 +
| item-level = 10
 +
| prefix = Professional Killstreak
 +
| item-description = This weapon will reload when not active
 +
| att-1-positive  = 100% critical hit vs burning players
 +
| att-2-positive  = Killstreaker: Singularity
 +
| att-3-positive  = Sheen: Hot Rod
 +
| att-4-positive  = Killstreaks Active
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| 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
 +
}}
 +
|}
 +
 
 +
== See also ==
 +
{{Image insertion templates list}}
 +
 
 +
<noinclude>[[Category:Template documentation|Backpack item]]</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 )