Difference between revisions of "Template:Backpack item"

From Team Fortress Wiki
Jump to: navigation, search
(bring the paint splat icon in a little bit)
m (decorated name > attribute)
 
(290 intermediate revisions by 75 users not shown)
Line 1: Line 1:
<includeonly><div style="text-align: center; background: #24201B; width: {{{width|100%}}}; -moz-border-radius: 10px; border-radius: 10px; padding:7px 0px; {{{style|}}}">
+
<includeonly><div class="tfwiki-backpack-item" style="text-align: center; background: #24201B; width: {{{width|100%}}}; -moz-border-radius: 10px; border-radius: 10px; padding:7px 0px; {{{style|}}}">
<center><div style="align:center; width: 120px; height: 90px; -moz-border-radius: 10px; border-radius: 10px; background: #3C362F; margin-bottom: 5px; border: 0px #847668 solid; position:relative;">{{#if:{{{paint-color|}}}
+
<center><div style="align:center; width: 120px; height: 90px; -moz-border-radius: 10px; border-radius: 10px; background: #3C362F; margin-bottom: 5px; border: 0px #847668 solid; position:relative;">{{#if:{{{paint-color|}}}{{{unusual-effect|}}}{{{decal-icon|}}}{{{strange-icon|}}}{{{stat-icon|}}}{{{pyroland-icon|}}}{{{halloween-icon|}}}{{{loaner-icon|}}}|<div style="width:26px; height:26px; {{lang incomplete|en=float:right; left:86px; |ar=float:left; right:86px;}} position:absolute; top:6px;"><!--
| <div style="width:26px; height:26px; float:right; position:absolute; left:86px; top:6px;">[[Image:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can]]</div>
+
-->{{#if:{{{paint-color|}}}|[[File:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can{{if lang}}]]}}<!--
}}[[File:Backpack {{{item-name|}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]]</div></center>
+
-->{{#if:{{{unusual-effect|}}}|[[File:Viewmode unusual.png|25px|link=Unusual{{if lang}}]]}}<!--
 +
-->{{#if:{{{decal-icon|}}}|[[File:Paint Splat Decal.png|25px|link=Decal Tool{{if lang}}]]}}<!--
 +
-->{{#if:{{{strange-icon|}}}|[[File:Viewmode strange.png|25px|link=Strange{{if lang}}]]}}<!--
 +
-->{{#if:{{{stat-icon|}}}|[[File:Viewmode statclock.png|25px|link=Decorated{{if lang}}]]}}<!--
 +
-->{{#if:{{{pyroland-icon|}}}|[[File:Viewmode pyrovision.png|25px|link=Pyroland{{if lang}}]]}}<!--
 +
-->{{#if:{{{halloween-icon|}}}|{{Halloween icon state}}}}<!--
 +
-->{{#if:{{{loaner-icon|}}}|[[File:Viewmode loaner.png|25px|link=Loaner Program{{if lang}}]]}}<!--
 +
--></div>}}{{#if: {{{custom-icon|}}}
 +
| [[File:{{{custom-icon}}}|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{BASEPAGENAME}}}}}]]
 +
|{{#if: {{#if:{{{grade|}}}|{{{wear|}}}}} <!-- If grade AND wear are specified -->
 +
| {{#if:{{{skin|}}}
 +
  | [[File:Backpack {{{skin}}} {{{item-name}}} {{{wear}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]]
 +
  | [[File:Backpack {{{item-name}}} {{{item-kind}}} {{{wear}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]]
 +
}}
 +
| [[File:Backpack {{{item-name|Unknownweapon}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]]
 +
}}}}</div></center>
 
<div style="-moz-border-radius: 10px; border-radius: 10px; background: transparent; padding: 5px; margin: 0px 7px;">
 
<div style="-moz-border-radius: 10px; border-radius: 10px; background: transparent; padding: 5px; margin: 0px 7px;">
<span class="qua_{{lc:{{{quality|unique}}}}}" style="font-size:18px; line-height:16px; font-family:{{lang | plain = yes<!--  
+
<span class="{{#if:{{{grade|}}}|grade_{{lc:{{{grade}}}}}|qua_{{lc:{{{quality|unique}}}}}}}" style="{{#if: {{{custom-color|}}}|color: {{{custom-color}}};}}font-size:18px; line-height:16px; text-shadow: 2px 1px 1px #24201B; font-family:{{lang incomplete<!--
  
      // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
+
    // Specific fonts for some languages that aren't supported by the standard TF2 Build font.-->
      | en = TF2 Build, Verdana, Geneva, sans-serif;
+
    | en = TF2 Build, Verdana, Geneva, sans-serif;
      | hu = Verdana, Geneva, sans-serif; font-weight: bold;
+
    | ar = مبنيات TF2 , bold;
      | ja = Shin Go, Heisei Kaku Gothic W5; font-weight: bold;
+
    | hu = Verdana, Geneva, sans-serif; font-weight: bold;
      | ko = Pathang, sans-serif, Totum, Kodig, serif; font-weight: bold;
+
    | ja = TF2 Build, Shin Go, Heisei Kaku Gothic W5; font-weight: bold;
      | zh-hans = SimSum-18030, SimHei, serif; font-weight: bold;
+
    | ko = Pathang, sans-serif, Totum, Kodig, serif; font-weight: bold;
      | zh-hant = SimHei, Verdana, PMingLiU, MingLiU, serif; font-weight: bold;
+
    | zh-hans = SimSum-18030, SimHei, serif; font-weight: bold;
      }}"><!--
+
    | zh-hant = JhengHei, Verdana, JhengHei, JhengHei, sans-serif; font-weight: bold;
  
   // Quality prefix switch.
+
}}">{{#if:{{{custom-name|}}} <!-- Check for custom name (overrides anything else) -->
  // First test if 'prefix' param is manually defined.
+
| {{#ifeq:{{lc:{{{no-custom-name-quotes}}}}}|yes
   // Test for language pages, skip on non-English ones.
+
   | {{{custom-name}}}
  // Then finally test 'quality': if 'unique' or 'normal', hide prefix.
+
  | "{{{custom-name}}}"
 
+
}}
   -->{{#if:{{{custom-name|}}}
+
| {{#if:{{{prefix|}}} <!-- Check for manual prefix definition (overrides quality) -->
| "{{{custom-name}}}"
+
  | {{#switch:{{lc:{{{prefix|}}}}} <!-- Hide prefix by setting to none -->
| {{#if:{{{prefix|}}}
+
    | none = {{ns:0}}
   | {{#switch:{{lc:{{{prefix|}}}}}
+
    | #default = {{{prefix|}}}&nbsp;
     | no | 0 | false | none | hide | negative = {{ns:0}}<!-- NULL -->
+
}}
     | #default = {{{prefix|}}}&#32;
+
| {{#if:{{{filter|}}} <!-- Strange Filters require a prefix for languages which do not otherwise need a strange prefix. -->
 +
  | {{#switch: {{SUBPAGENAME}}
 +
    |ar|cs|fi|fr|hu|it|ja|ko|nl|no|pl|pt|pt-br|ro|ru|sv|tr|zh-hant = {{ns:0}}
 +
    | #default <!-- en --> | da
 +
    | de = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{item name|from {{{filter}}}}}&nbsp;
 +
    | es = {{item name|from {{{filter}}}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}&nbsp;
 +
    | zh-hans = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{item name|from {{{filter}}}}}&nbsp;
 +
}}
 +
| {{#switch: {{SUBPAGENAME}}
 +
   |ar|fr|hu|ja|no|pl|pt|pt-br|ru|es = {{ns:0}}
 +
  | #default <!-- en --> | cs | da | de | es | fi | it | ja | ko | nl | ro | sv | tr | zh-hans | zh-hant = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Prefix for items with quality -->
 +
    | unique | normal = {{ns:0}} <!-- Unique and Normal weapons do not get a prefix -->
 +
    | strange = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}&nbsp; <!-- Strange items have a prefix based on their rank -->
 +
    | #default = {{Item name|{{{quality|}}}}}&nbsp; <!-- Not one of the above qualities, default to the quality name. -->
 +
    | ¬ | false = {{ns:0}} <!-- Quality not defined, do not create prefix -->
 +
}}}}}}}}<!--
 +
-->{{#if:{{{item-name-local|}}} <!-- Allow item-name-local to override translated name. -->
 +
   |{{{item-name-local}}}
 +
  |{{#if:{{{skin|}}}|{{lang incomplete
 +
      | en = {{decorated name|{{{skin}}}}}
 +
      | fr = {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | it = <nowiki>|</nowiki> {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | pl = {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | pt = <nowiki>|</nowiki> {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | pt-br = {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | ru = «{{decorated name|{{{skin}}}}}»
 +
      | zh-hans = {{decorated name|{{{skin}}}|list=no}}
 +
  }}}} {{item name|{{{item-name}}}}}
 +
  }}{{#if:{{{suffix|}}} <!-- Check for manual suffix definition (overrides quality) -->
 +
   | {{#switch:{{lc:{{{suffix|}}}}} <!-- Hide suffix by setting to none -->
 +
     | none | no | 0 | false | hide | negative = {{ns:0}}
 +
     | #default = &nbsp;{{{suffix|}}}
 
     }}
 
     }}
   | {{lang | plain = yes
+
   | {{#if:{{{filter|}}} <!-- Strange Filters require a prefix for languages which do not otherwise need a strange prefix. -->
     | en = {{if lang
+
     | {{#switch: {{SUBPAGENAME}}
          | en = {{#switch:{{lc:{{{quality|}}}}}
+
      | #default = {{ns:0}}
            | unique
+
      | de = &nbsp;- {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}
            | normal
+
      | fr = &nbsp;({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
            | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
+
      | pl = &nbsp;({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
            | #default = {{ucfirst:{{{quality|}}}}}&#32;
+
       | pt-br = &nbsp;({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
            }}
+
       | ru = &nbsp;{{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}
          | non-en = {{ns:0}}<!-- NULL: don't add quality prefix on non-en pages with no translation provided. -->
 
          }}
 
    | de = {{#switch:{{lc:{{{quality|}}}}}
 
       | unique
 
      | normal
 
      | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
 
      | vintage = (Klassisch)&#32;
 
      | unusual = (Ungewöhnlich)&#32;
 
       | community = (Community)&#32;
 
      | self-made = (Selbstgemacht)&#32;
 
      | customized = (Maßgefertigt)&#32;
 
      | valve = (Valve)&#32;
 
      | #default = {{ucfirst:{{{quality|}}}}}&#32;
 
 
       }}
 
       }}
     | pl = {{#switch:{{lc:{{{quality|}}}}}
+
     | {{#switch: {{SUBPAGENAME}}
      | unique
+
      | #default = {{ns:0}}
      | normal  
+
      | ar|de|es|fr|it|no|pl|pt|pt-br|ru = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Suffix for items with quality. -->
      | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
+
        | unique | normal = {{ns:0}} <!-- 'unique' and 'normal' weapons do not get a suffix. -->
      | vintage = (Klasyczny)&#32;
+
        | strange = &nbsp;{{Lang incomplete
      | unusual = (Nietypowy)&#32;
+
          | 1 <!-- #default --> = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}
      | community = (Społecznościowy)&#32;
+
          | de = - {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} <!-- Hyphen -->
      | self-made = (Własnoręczny)&#32;
+
          | fr = ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
      | customized = (Dostosowany)&#32;
+
          | it = ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
      | valve = (Valve)&#32;
+
          | pl = ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
      | #default = {{ucfirst:{{{quality|}}}}}&#32;
+
          | pt-br = ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
 +
          }}
 +
        | #default = &nbsp;{{Lang incomplete
 +
          | de = - {{Item name|{{{quality}}}}} <!-- Hyphen, no parentheses in German -->
 +
          | es = {{Item name|{{{quality}}}}} <!-- No parentheses in Spanish -->
 +
          | ru = {{Item name|{{{quality}}}}} <!-- No parentheses in Russian -->
 +
          | 1 <!-- #default --> = ({{item name|{{{quality}}}}}) <!-- Not one of the above qualities, default to the quality name. -->
 +
          }}
 +
        | ¬ | false = {{ns:0}} <!-- Quality not defined, do not create prefix -->
 +
        }}
 
       }}
 
       }}
 
     }}
 
     }}
   }}{{#if:{{{item-name-local|}}}|{{{item-name-local}}}|{{{item-name}}}}}
+
   }}
  }}</span><!--
+
}}</span><span style="font-family:{{lang incomplete<!--
+
 
--><br /><span class="att_level">{{{item-level|Level 1 - 100}}}</span><!--
+
    // Specific fonts for some languages that aren't supported by the standard TF2 Secondary font.-->
+
    | en = TF2 Secondary, Verdana, Geneva, sans-serif;
-->{{#if:{{{att-1-positive|}}}    |<br /><span class="att_positive">{{{att-1-positive}}}</span> |
+
    | hu = Verdana, Geneva, sans-serif; font-weight: bold;
     {{#if:{{{att-1-negative|}}}  |<br /><span class="att_negative">{{{att-1-negative}}}</span> |
+
    | ja = TF2 Secondary, Shin Go, Heisei Kaku Gothic W5; font-weight: bold;
       {{#if:{{{att-1-neutral|{{{neutral-attributes|}}}}}}<!--  // Backwards compatibility.
+
    | ko = Pathang, sans-serif, Totum, Kodig, serif; font-weight: bold;
                              -->|<br /><span class="att_neutral"> {{{att-1-neutral|{{{neutral-attributes}}}}}}</span>
+
    | zh-hans = SimSum-18030, SimHei, serif;
 +
    | zh-hant = JhengHei, JhengHei, sans-serif;
 +
    }} font-size: 15px"><!--
 +
 
 +
// Limited and Strange item name string.
 +
 
 +
-->{{#ifeq:{{{item-level|}}}|none|{{ns:0}}|<br>{{#ifeq:{{{limited|}}}|yes|<span style="color:yellow">{{#if:{{{rankson|}}}|{{lang
 +
  | en = [[Limited Quantity|<span style="color:yellow; hover:yellow">Limited</span>]] {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | de = [[Limited Quantity/de|<span style="color:yellow; hover:yellow">Limitiert</span>]] {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | cs = [[Limited Quantity/cs|<span style="color:yellow; hover:yellow">Limitovaný</span>]] {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | es = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) [[Limited Quantity/es|<span style="color:yellow; hover:yellow">de Edición Limitada</span>]]
 +
  | fr = [[Limited Quantity/fr|<span style="color:yellow; hover:yellow">Limité</span>]] {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | pl = {{{item-kind}}} [[Limited Quantity/pl|<span style="color:yellow; hover:yellow">Biały Kruk</span>]] {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | pt-br = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) [[Limited Quantity/pt-br|<span style="color:yellow; hover:yellow">Edição Limitada</span>]]
 +
  | ru = {{{item-kind}}} {{lc:{{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}}} [[Limited Quantity/ru|<span style="color:yellow; hover:yellow">ограниченной серии</span>]] -
 +
}} {{item name|{{{rankson|}}}}}: {{{killcount|0}}}<!--
 +
-->{{#if:{{{rankson2|}}}|<br>({{item name|{{{rankson2}}}}}: {{{killcount2|0}}})}}<!--
 +
-->{{#if:{{{rankson3|}}}|<br>({{item name|{{{rankson3}}}}}: {{{killcount3|0}}})}}<!--
 +
-->{{#if:{{{rankson4|}}}|<br>({{item name|{{{rankson4}}}}}: {{{killcount4|0}}})}}<!--
 +
-->{{#if:{{{rankson5|}}}|<br>({{item name|{{{rankson5}}}}}: {{{killcount5|0}}})}}<!--
 +
-->{{#if:{{{rankson6|}}}|<br>({{item name|{{{rankson6}}}}}: {{{killcount6|0}}})}}<!--
 +
-->{{#if:{{{rankson7|}}}|<br>({{item name|{{{rankson7}}}}}: {{{killcount7|0}}})}}<!--
 +
-->{{#if:{{{rankson8|}}}|<br>({{item name|{{{rankson8}}}}}: {{{killcount8|0}}})}}<!--
 +
-->{{#if:{{{rankson9|}}}|<br>({{item name|{{{rankson9}}}}}: {{{killcount9|0}}})}}<!--
 +
 
 +
// Limited only item name string.
 +
 
 +
-->|{{lang
 +
  | en = [[Limited Quantity|<span style="color:yellow; hover:yellow">Limited</span>]] {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | cs = {{{item-kind|}}} ([[Limited Quantity/cs|<span style="color:yellow; hover:yellow">Limitovaný předmět</span>]] předmět – {{{item-level|1 - 100}}}{{#if:{{{item-kind|}}}|. úroveň}})
 +
  | da = [[Limited Quantity/da|<span style="color:yellow; hover:yellow">Begrænset</span>]] {{#if:{{{item-kind|}}}|Niveau}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | de = [[Limited Quantity/de|<span style="color:yellow; hover:yellow">Limitiert</span>]]: {{{item-kind|}}} {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}}
 +
  | es = {{{item-kind|}}} {{#if:{{{item-kind|}}}|de Nivel}} {{{item-level|1 a 100}}} [[Limited Quantity/es|<span style="color:yellow; hover:yellow">de Edición Limitada</span>]]
 +
  | fi = [[Limited Quantity/fi|<span style="color:yellow; hover:yellow">Rajoitettu</span>]] {{#if:{{{item-kind|}}}|tason}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | fr = {{{item-kind|}}} [[Limited Quantity/fr|<span style="color:yellow; hover:yellow">Limité</span>]] {{#if:{{{item-kind|}}}|niveau}} {{{item-level|1 - 100}}}
 +
  | hu = {{{item-level|1 - 100}}}{{#if:{{{item-kind|}}}|. szintű}} [[Limited Quantity/hu|<span style="color:yellow; hover:yellow">Limitált</span>]] {{{item-kind|}}}
 +
  | it = {{{item-kind|}}} {{#if:{{{item-kind|}}}|- Livello}} {{{item-level|1 - 100}}} ([[Limited Quantity/it|<span style="color:yellow; hover:yellow">Edizione limitata</span>]])
 +
  | ja = [[Limited Quantity/ja|<span style="color:yellow; hover:yellow">Limited</span>]] {{#if:{{{item-kind|}}}|レベル}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | ko = [[Limited Quantity/ko|<span style="color:yellow; hover:yellow">한정</span>]] {{#if:{{{item-kind|}}}|레벨}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | nl = [[Limited Quantity/nl|<span style="color:yellow; hover:yellow">Beperkte</span>]] {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | no = [[Limited Quantity/no|<span style="color:yellow; hover:yellow">Begrenset</span>]]: {{{item-kind|}}} {{#if:{{{item-kind|}}}|– Nivå}} {{{item-level|1 - 100}}}
 +
  | pl = {{{item-kind|}}} ([[Limited Quantity/pl|<span style="color:yellow; hover:yellow">Biały Kruk</span>]]) {{#if:{{{item-kind|}}}|poziomu}} {{{item-level|1 - 100}}}
 +
  | pt = {{{item-kind|}}} [[Limited Quantity/pt|<span style="color:yellow; hover:yellow">de Edição Limitada</span>]] {{#if:{{{item-kind|}}}|- Nível}} {{{item-level|1 - 100}}}
 +
  | pt-br = {{{item-kind|}}} [[Limited Quantity/pt-br|<span style="color:yellow; hover:yellow">Edição Limitada</span>]] {{#if:{{{item-kind|}}}|nível}} {{{item-level|1 - 100}}}
 +
  | ro = [[Limited Quantity/ro|<span style="color:yellow; hover:yellow">Limitat</span>]] {{#if:{{{item-kind|}}}|Nivel}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | ru = {{{item-kind|}}} [[Limited Quantity/ru|<span style="color:yellow; hover:yellow">ограниченной серии</span>]] {{{item-level|1 - 100}}}{{#if:{{{item-kind|}}}|-го уровня}}
 +
  | sv = [[Limited Quantity/sv|<span style="color:yellow; hover:yellow">Begränsad</span>]] {{#if:{{{item-kind|}}}|Nivå}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | tr = [[Limited Quantity/tr|<span style="color:yellow; hover:yellow">Sınırlı</span>]] {{#if:{{{item-kind|}}}|Seviye}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | zh-hans = {{{item-level|1 - 100}}} {{#if:{{{item-kind|}}}|级}} [[Limited Quantity/zh-hans|<span style="color:yellow; hover:yellow">限量</span>]] {{{item-kind|}}}
 +
  | zh-hant = [[Limited Quantity/zh-hant|<span style="color:yellow; hover:yellow">限量版</span>]] {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
}}}}</span>|<!--
 +
 
 +
// Grade AND wear item name string
 +
// The {{item name|{{{item-kind}}}}} is because item-kind is used when calling the name of the image (for decorated items). The "item kind" in the description is actually just the weapon name, so translating it is correct.
 +
 
 +
-->{{#if:{{{grade|}}}|<span class="grade_{{lc:{{{grade}}}}}">{{#if:{{{wear|}}}|{{lang
 +
  | en = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}} ({{Decorated name|{{{wear}}}}})
 +
  | cs = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}} ({{Decorated name|{{{wear}}}}})
 +
  | da = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | de = {{item name|{{{item-kind}}}}}, {{Decorated name|{{{grade}}} grade}} ({{Decorated name|{{{wear}}}}})
 +
  | es = {{item name|{{{item-kind}}}}} {{Decorated name|{{{grade}}} grade}} ({{Decorated name|{{{wear}}}}})
 +
  | fr = {{Decorated name|{{{grade}}} grade}} - {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | hu = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}} ({{Decorated name|{{{wear}}}}})
 +
  | ja = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | ko = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | nl = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}} ({{Decorated name|{{{wear}}}}})
 +
  | no = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}} ({{Decorated name|{{{wear}}}}})
 +
  | pl = {{item name|{{{item-kind}}}}} {{Decorated name|{{{grade}}} grade}} ({{Decorated name|{{{wear}}}}})
 +
  | pt = {{item name|{{{item-kind}}}}} {{Decorated name|{{{grade}}} grade}} (({{Decorated name|{{{wear}}}}}))
 +
  | pt-br = {{item name|{{{item-kind}}}}} {{Decorated name|{{{grade}}} grade}} ({{Decorated name|{{{wear}}}}})
 +
  | ru = {{item name|{{{item-kind}}}}} {{lc:{{Decorated name|{{{grade}}} grade}}}} ({{Decorated name|{{{wear}}}}})
 +
  | tr = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | zh-hans = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
  | zh-hant = {{Decorated name|{{{grade}}} grade}} {{item name|{{{item-kind}}}}} ({{Decorated name|{{{wear}}}}})
 +
}}</span>{{#ifeq:{{{quality}}}|Strange|<!--
 +
 
 +
// Strange stat clocks
 +
 
 +
--><br><span style="color:#CF6A32">{{attribute|stattrakmodule|{{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}}}</span><br><span class="att_level">{{Item name|{{{rankson|}}}}}: {{{killcount|0}}}<!--
 +
-->{{#if:{{{rankson2|}}}|<br>({{Item name|{{{rankson2}}}}}: {{{killcount2|0}}})}}<!--
 +
-->{{#if:{{{rankson3|}}}|<br>({{Item name|{{{rankson3}}}}}: {{{killcount3|0}}})}}<!--
 +
-->{{#if:{{{rankson4|}}}|<br>({{Item name|{{{rankson4}}}}}: {{{killcount4|0}}})}}<!--
 +
-->{{#if:{{{rankson5|}}}|<br>({{Item name|{{{rankson5}}}}}: {{{killcount5|0}}})}}<!--
 +
-->{{#if:{{{rankson6|}}}|<br>({{Item name|{{{rankson6}}}}}: {{{killcount6|0}}})}}<!--
 +
-->{{#if:{{{rankson7|}}}|<br>({{Item name|{{{rankson7}}}}}: {{{killcount7|0}}})}}<!--
 +
-->{{#if:{{{rankson8|}}}|<br>({{Item name|{{{rankson8}}}}}: {{{killcount8|0}}})}}<!--
 +
-->{{#if:{{{rankson9|}}}|<br>({{Item name|{{{rankson9}}}}}: {{{killcount9|0}}})}}</span>|}}|<!--
 +
 
 +
// Grade ONLY item name string
 +
 
 +
-->{{lang
 +
  | en = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | cs = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}}
 +
  | de = {{{item-kind}}}, {{Decorated name|{{{grade}}} grade}}
 +
  | es = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}}
 +
  | fr = {{Decorated name|{{{grade}}} grade}} - {{{item-kind}}}
 +
  | ja = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | ko = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | nl = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | no = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | pl = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}}
 +
  | pt = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}}
 +
  | pt-br = {{{item-kind}}} {{Decorated name|{{{grade}}} grade}}
 +
  | ru = {{{item-kind}}} {{lc:{{Decorated name|{{{grade}}} grade}}}}
 +
  | zh-hans = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
  | zh-hant = {{Decorated name|{{{grade}}} grade}} {{{item-kind}}}
 +
}}{{#if:{{{rankson|}}}|<!--
 +
 
 +
// Strange graded ONLY item string
 +
 
 +
--><span class="att_level"><br>{{lang
 +
  | en = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | cs = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | da = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | de = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | es = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | fr = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | hu = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | it = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | ko = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | nl = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | no = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | pl = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 +
  | pt = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 +
  | pt-br = {{{item-kind}}} {{#if:{{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
 +
  | ru = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | tr = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | zh-hant = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | zh-hans = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
}} {{item name|{{{rankson|}}}}}: {{{killcount|0}}}<!--
 +
-->{{#if:{{{rankson2|}}}|<br>({{Item name|{{{rankson2}}}}}: {{{killcount2|0}}})}}<!--
 +
-->{{#if:{{{rankson3|}}}|<br>({{Item name|{{{rankson3}}}}}: {{{killcount3|0}}})}}<!--
 +
-->{{#if:{{{rankson4|}}}|<br>({{Item name|{{{rankson4}}}}}: {{{killcount4|0}}})}}<!--
 +
-->{{#if:{{{rankson5|}}}|<br>({{Item name|{{{rankson5}}}}}: {{{killcount5|0}}})}}<!--
 +
-->{{#if:{{{rankson6|}}}|<br>({{Item name|{{{rankson6}}}}}: {{{killcount6|0}}})}}<!--
 +
-->{{#if:{{{rankson7|}}}|<br>({{Item name|{{{rankson7}}}}}: {{{killcount7|0}}})}}<!--
 +
-->{{#if:{{{rankson8|}}}|<br>({{Item name|{{{rankson8}}}}}: {{{killcount8|0}}})}}<!--
 +
-->{{#if:{{{rankson9|}}}|<br>({{Item name|{{{rankson9}}}}}: {{{killcount9|0}}})}}</span>|<!--
 +
 
 +
// Default graded item string
 +
 
 +
--><span class="att_level"><br>{{{item-kind}}}</span>}}}}|{{#if:{{{rankson|}}}|<!--
 +
 
 +
// Strange ONLY item string
 +
 
 +
--><span class="att_level">{{lang
 +
  | en = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | cs = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | da = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | de = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | es = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | fr = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | hu = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | it = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | ko = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | nl = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | no = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | pl = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 +
  | pt = {{{item-kind}}} ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 +
  | pt-br = {{{item-kind}}} {{#if:{{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
 +
  | ru = {{{item-kind}}} {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
 +
  | tr = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | zh-hant = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | zh-hans = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
}} {{item name|{{{rankson|}}}}}: {{{killcount|0}}}<!--
 +
-->{{#if:{{{rankson2|}}}|<br>({{Item name|{{{rankson2}}}}}: {{{killcount2|0}}})}}<!--
 +
-->{{#if:{{{rankson3|}}}|<br>({{Item name|{{{rankson3}}}}}: {{{killcount3|0}}})}}<!--
 +
-->{{#if:{{{rankson4|}}}|<br>({{Item name|{{{rankson4}}}}}: {{{killcount4|0}}})}}<!--
 +
-->{{#if:{{{rankson5|}}}|<br>({{Item name|{{{rankson5}}}}}: {{{killcount5|0}}})}}<!--
 +
-->{{#if:{{{rankson6|}}}|<br>({{Item name|{{{rankson6}}}}}: {{{killcount6|0}}})}}<!--
 +
-->{{#if:{{{rankson7|}}}|<br>({{Item name|{{{rankson7}}}}}: {{{killcount7|0}}})}}<!--
 +
-->{{#if:{{{rankson8|}}}|<br>({{Item name|{{{rankson8}}}}}: {{{killcount8|0}}})}}<!--
 +
-->{{#if:{{{rankson9|}}}|<br>({{Item name|{{{rankson9}}}}}: {{{killcount9|0}}})}}</span>|<!--
 +
 
 +
// Default Item name string.
 +
 
 +
--><span class="att_level">{{lang
 +
  | en = {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | cs = {{{item-kind|}}} ({{#if:{{{item-kind|}}}|úroveň}} {{{item-level|1 - 100}}})
 +
  | da = {{#if:{{{item-kind|}}}|Niveau}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | de = {{{item-kind|}}} {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}}
 +
  | es = {{{item-kind|}}} {{#if:{{{item-kind|}}}|de Nivel}} {{{item-level|1 a 100}}}
 +
  | fi = {{#if:{{{item-kind|}}}|Tason}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | fr = {{{item-kind|}}} {{#if:{{{item-kind|}}}|niveau}} {{{item-level|1 - 100}}}
 +
  | hu = {{{item-level|1 - 100}}}{{#if:{{{item-kind|}}}|. szintű}} {{{item-kind|}}}
 +
  | it = {{{item-kind|}}} {{#if:{{{item-kind|}}}|- Livello}} {{{item-level|1 - 100}}}
 +
  | ja = {{#if:{{{item-kind|}}}|レベル}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | ko = {{#if:{{{item-kind|}}}|레벨}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | nl = {{#if:{{{item-kind|}}}|Level}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | no = {{{item-kind|}}} {{#if:{{{item-kind|}}}|- Nivå}} {{{item-level|1 - 100}}}
 +
  | pl = {{{item-kind|}}} {{#if:{{{item-kind|}}}|poziomu}} {{{item-level|1 - 100}}}
 +
  | pt = {{{item-kind|}}} {{#if:{{{item-kind|}}}|- Nível}} {{{item-level|1 - 100}}}
 +
  | pt-br = {{{item-kind|}}} {{#if:{{{item-kind|}}}|nível}} {{{item-level|1-100}}}
 +
  | ro = {{{item-kind|}}} {{#if:{{{item-kind|}}}|de Nivel}} {{{item-level|1 - 100}}}
 +
  | ru = {{{item-kind|}}} {{{item-level|1 - 100}}}{{#if:{{{item-kind|}}}|-го уровня}}
 +
  | sv = {{{item-kind|}}} {{#if:{{{item-kind|}}}|Nivå}} {{{item-level|1 - 100}}}
 +
  | tr = {{#if:{{{item-kind|}}}|Seviye}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | zh-hans = {{#if:{{{item-kind|}}}|等级}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
  | zh-hant = {{#if:{{{item-kind|}}}|等級}} {{{item-level|1 - 100}}} {{{item-kind|}}}
 +
}}</span>}}}}}}}}<!--
 +
 
 +
-->{{#if:{{{strange-secondary|}}}
 +
      |<br><span class="att_level">{{{strange-secondary}}}</span>
 +
  }}<!--
 +
 
 +
-->{{#if:{{{att-strangerank-1|}}}
 +
      |<br><span class="att_strangerank">{{{att-strangerank-1}}}</span>
 +
  }}<!--
 +
 
 +
-->{{#if:{{{att-strangerank-2|}}}
 +
      |<br><span class="att_strangerank">{{{att-strangerank-2}}}</span>
 +
  }}<!--
 +
 
 +
-->{{#if:{{{att-strangerank-3|}}}
 +
      |<br><span class="att_strangerank">{{{att-strangerank-3}}}</span>
 +
  }}<!--
 +
 
 +
-->{{#if:{{{unusual-effect|}}}|<br><font color="#8650AC">★ {{lang|
 +
<!-- Attrib_AttachedParticle -->
 +
  | en = Unusual Effect: {{{unusual-effect}}}
 +
  | cs = Unusual efekt: {{{unusual-effect}}}
 +
  | da = Usædvanlig effekt: {{{unusual-effect}}}
 +
  | de = Ungewöhnlicher Effekt: {{{unusual-effect}}}
 +
  | es = Efecto Inusual: {{{unusual-effect}}}
 +
  | fi = Epätavallinen tehoste: {{{unusual-effect}}}
 +
  | fr = Effet inhabituel : {{{unusual-effect}}}
 +
  | hu = Rendkívüli effekt: {{{unusual-effect}}}
 +
  | it = Effetto Insolito: {{{unusual-effect}}}
 +
  | ja = アンユージュアルエフェクト: {{{unusual-effect}}}
 +
  | ko = 범상찮은 효과: {{{unusual-effect}}}
 +
  | nl = Bijzonder effect: {{{unusual-effect}}}
 +
  | no = Uvanlig effekt: {{{unusual-effect}}}
 +
  | pl = Nietypowy efekt: {{{unusual-effect}}}
 +
  | pt = Efeito Inusual: {{{unusual-effect}}}
 +
  | pt-br = Efeito Incomum: {{{unusual-effect}}}
 +
  | ro = Efect neobișnuit: {{{unusual-effect}}}
 +
  | ru = Необычный эффект: {{{unusual-effect}}}
 +
  | sv = Ovanlig Effekt: {{{unusual-effect}}}
 +
  | tr = Olağandışı Efekt: {{{unusual-effect}}}
 +
  | zh-hans = 稀有特效:{{{unusual-effect}}}
 +
  | zh-hant = 異常效果:{{{unusual-effect}}}
 +
}}</font>}}<!--
 +
 
 +
-->{{#if:{{{att-1-positive|}}}    |<br><span class="att_positive">{{{att-1-positive}}}</span> |
 +
     {{#if:{{{att-1-negative|}}}  |<br><span class="att_negative">{{{att-1-negative}}}</span> |
 +
       {{#if:{{{att-1-neutral|}}} |<br><span class="att_neutral"> {{{att-1-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-2-positive|{{{positive-attributes|}}}}}}<!--   // Backwards compatibility.
+
-->{{#if:{{{att-2-positive|}}}    |<br><span class="att_positive">{{{att-2-positive}}}</span> |
                              -->|<br /><span class="att_positive">{{{att-2-positive|{{{positive-attributes}}}}}}</span> |
+
     {{#if:{{{att-2-negative|}}}  |<br><span class="att_negative">{{{att-2-negative}}}</span> |
     {{#if:{{{att-2-negative|}}}  |<br /><span class="att_negative">{{{att-2-negative}}}</span> |
+
       {{#if:{{{att-2-neutral|}}} |<br><span class="att_neutral"> {{{att-2-neutral}}} </span>
       {{#if:{{{att-2-neutral|}}} |<br /><span class="att_neutral"> {{{att-2-neutral}}} </span>
 
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-3-positive|}}}    |<br /><span class="att_positive">{{{att-3-positive}}}</span> |
+
-->{{#if:{{{att-3-positive|}}}    |<br><span class="att_positive">{{{att-3-positive}}}</span> |
     {{#if:{{{att-3-negative|{{{negative-attributes|}}}}}}<!-- // Backwards compatibility.
+
     {{#if:{{{att-3-negative|}}} |<br><span class="att_negative">{{{att-3-negative}}}</span> |
                              -->|<br /><span class="att_negative">{{{att-3-negative|{{{negative-attributes}}}}}}</span> |
+
       {{#if:{{{att-3-neutral|}}} |<br><span class="att_neutral"> {{{att-3-neutral}}} </span>
       {{#if:{{{att-3-neutral|}}} |<br /><span class="att_neutral"> {{{att-3-neutral}}} </span>
 
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-4-positive|}}}    |<br /><span class="att_positive">{{{att-4-positive}}}</span> |
+
-->{{#if:{{{att-4-positive|}}}    |<br><span class="att_positive">{{{att-4-positive}}}</span> |
     {{#if:{{{att-4-negative|}}}  |<br /><span class="att_negative">{{{att-4-negative}}}</span> |
+
     {{#if:{{{att-4-negative|}}}  |<br><span class="att_negative">{{{att-4-negative}}}</span> |
       {{#if:{{{att-4-neutral|}}} |<br /><span class="att_neutral"> {{{att-4-neutral}}} </span>
+
       {{#if:{{{att-4-neutral|}}} |<br><span class="att_neutral"> {{{att-4-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-5-positive|}}}    |<br /><span class="att_positive">{{{att-5-positive}}}</span> |
+
-->{{#if:{{{att-5-positive|}}}    |<br><span class="att_positive">{{{att-5-positive}}}</span> |
     {{#if:{{{att-5-negative|}}}  |<br /><span class="att_negative">{{{att-5-negative}}}</span> |
+
     {{#if:{{{att-5-negative|}}}  |<br><span class="att_negative">{{{att-5-negative}}}</span> |
       {{#if:{{{att-5-neutral|}}} |<br /><span class="att_neutral"> {{{att-5-neutral}}} </span>
+
       {{#if:{{{att-5-neutral|}}} |<br><span class="att_neutral"> {{{att-5-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-6-positive|}}}    |<br /><span class="att_positive">{{{att-6-positive}}}</span> |
+
-->{{#if:{{{att-6-positive|}}}    |<br><span class="att_positive">{{{att-6-positive}}}</span> |
     {{#if:{{{att-6-negative|}}}  |<br /><span class="att_negative">{{{att-6-negative}}}</span> |
+
     {{#if:{{{att-6-negative|}}}  |<br><span class="att_negative">{{{att-6-negative}}}</span> |
       {{#if:{{{att-6-neutral|}}} |<br /><span class="att_neutral"> {{{att-6-neutral}}} </span>
+
       {{#if:{{{att-6-neutral|}}} |<br><span class="att_neutral"> {{{att-6-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
 
+
 
-->{{#if:{{{att-7-positive|}}}    |<br /><span class="att_positive">{{{att-7-positive}}}</span> |
+
-->{{#if:{{{att-7-positive|}}}    |<br><span class="att_positive">{{{att-7-positive}}}</span> |
     {{#if:{{{att-7-negative|}}}  |<br /><span class="att_negative">{{{att-7-negative}}}</span> |
+
     {{#if:{{{att-7-negative|}}}  |<br><span class="att_negative">{{{att-7-negative}}}</span> |
       {{#if:{{{att-7-neutral|}}} |<br /><span class="att_neutral"> {{{att-7-neutral}}} </span>
+
       {{#if:{{{att-7-neutral|}}} |<br><span class="att_neutral"> {{{att-7-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
+
 
-->{{#if:{{{att-8-positive|}}}    |<br /><span class="att_positive">{{{att-8-positive}}}</span> |
+
-->{{#if:{{{att-8-positive|}}}    |<br><span class="att_positive">{{{att-8-positive}}}</span> |
     {{#if:{{{att-8-negative|}}}  |<br /><span class="att_negative">{{{att-8-negative}}}</span> |
+
     {{#if:{{{att-8-negative|}}}  |<br><span class="att_negative">{{{att-8-negative}}}</span> |
       {{#if:{{{att-8-neutral|}}} |<br /><span class="att_neutral"> {{{att-8-neutral}}} </span>
+
       {{#if:{{{att-8-neutral|}}} |<br><span class="att_neutral"> {{{att-8-neutral}}} </span>
 
       }}
 
       }}
 
     }}
 
     }}
 
   }}<!--
 
   }}<!--
  
-->{{#if:{{{item-description|}}} |<br /><span class="att_neutral" style="line-height:1em; font-size:95%; width:80%;">{{{item-description}}}</span>
+
-->{{#if:{{{custom-description|}}}|<br><span class="att_neutral" style="line-height:1.2em; font-size:95%; width:80%">"{{{custom-description|}}}"</span>
}}<!--
+
  | {{#if:{{{item-description|}}}|<br><span class="att_neutral" style="line-height:1.2em; font-size:95%; width:80%">{{{item-description|}}}</span>
 +
    }}
 +
  }}<!--
  
-->{{#if:{{{item-expiration|}}}   |<br /><br /><span class="att_negative" style="line-height:1em; font-size:95%; width:80%;">{{lang
+
-->{{#if:{{{gift-from|}}}|<br><br><span class="att_positive">{{lang
 +
<!-- Attrib_GifterAccountID -->
 +
  | en = Gift from: {{{gift-from}}}
 +
  | cs = Dárek od: {{{gift-from}}}
 +
  | da = Gave fra: {{{gift-from}}}.
 +
  | de = Geschenk von: {{{gift-from}}}
 +
  | es = Regalo de {{{gift-from}}}
 +
  | fi = Lahjan alkuperä: {{{gift-from}}}.
 +
  | fr = Cadeau de : {{{gift-from}}}
 +
  | hu = {{{gift-from}}} adta ajándékba
 +
  | it = Dono da parte di: {{{gift-from}}}
 +
  | ja = ギフト提供者:{{{gift-from}}}。
 +
  | ko = 보낸 사람: {{{gift-from}}}.
 +
  | nl = Gekregen van: {{{gift-from}}}.
 +
  | no = Gave fra: {{{gift-from}}}.
 +
  | pl = Prezent od: {{{gift-from}}}
 +
  | pt = Presente de: {{{gift-from}}}
 +
  | pt-br = Presente de: {{{gift-from}}}
 +
  | ro = Cadou de la: {{{gift-from}}}
 +
  | ru = Подарок от: {{{gift-from}}}
 +
  | sv = Gåva från: {{{gift-from}}}.
 +
  | tr = Hediye eden: {{{gift-from}}}
 +
  | zh-hans = 赠送者:{{{gift-from}}}
 +
  | zh-hant = 禮物來源:{{{gift-from}}}。
 +
  }}</span><!--
 +
 
 +
-->{{#if:{{{date-received|}}}|<br><span class="att_neutral">{{lang
 +
<!-- Attrib_EventDate -->
 +
  | en = Date Received: {{{date-received}}}
 +
  | cs = Datum získání: {{{date-received}}}
 +
  | da = Modtagelsesdato: {{{date-received}}}
 +
  | de = Erhalten am: {{{date-received}}}
 +
  | es = Fecha de recepción: {{{date-received}}}
 +
  | fi = Vastaanottopäivämäärä: {{{date-received}}}
 +
  | fr = Date de réception : {{{date-received}}}
 +
  | hu = Ekkor kaptad: {{{date-received}}}
 +
  | it = Data di ricezione: {{{date-received}}}
 +
  | ja = 受領日:{{{date-received}}}
 +
  | ko = 받은 날짜: {{{date-received}}}
 +
  | nl = Datum ontvangen: {{{date-received}}}
 +
  | no = Dato mottatt: {{{date-received}}}
 +
  | pl = Data otrzymania: {{{date-received}}}
 +
  | pt = Recebido a: {{{date-received}}}
 +
  | pt-br = Data de recebimento: {{{date-received}}}
 +
  | ro = Data primirii: {{{date-received}}}
 +
  | ru = Дата получения: {{{date-received}}}
 +
  | sv = Datum Mottaget: {{{date-received}}}
 +
  | tr = Alma Tarihi: {{{date-received}}}
 +
  | zh-hans = 授勋日期:{{{date-received}}}
 +
  | zh-hant = 收到日期:{{{date-received}}}
 +
  }}</span>}}}}<!--
 +
 
 +
-->{{#if:{{{item-expiration|}}}|<br><br><span class="att_negative" style="line-height:1.2em;font-size:95%;width:80%">{{lang
 +
<!-- Attrib_ExpirationDate -->
 
   | en = This item will expire on {{{item-expiration}}}.
 
   | en = This item will expire on {{{item-expiration}}}.
   | pl = Ten przedmiot traci ważność {{{item-expiration}}}
+
  | cs = Tento předmět přestane fungovat {{{item-expiration}}}.
   | ru = Срок годности: до {{{item-expiration}}}.
+
  | da = Denne genstand udløber d. {{{item-expiration}}}.
 +
  | de = Dieser Gegenstand wird am {{{item-expiration}}} verfallen.
 +
  | es = Este artículo caducará el {{{item-expiration}}}.
 +
  | fi = Esineen erääntymispäivä: {{{item-expiration}}}.
 +
  | fr = Cet item expirera le {{{item-expiration}}}.
 +
  | hu = Ez a tárgy {{{item-expiration}}} időpontban lejár.
 +
  | it = Scadenza per questo oggetto: {{{item-expiration}}}
 +
  | ko = 이 아이템은 {{{item-expiration}}}까지만 사용할 수 있습니다.
 +
  | nl = Dit voorwerp verloopt op {{{item-expiration}}}.
 +
  | no = Denne gjenstanden utløper den {{{item-expiration}}}.
 +
   | pl = Ważność tego przedmiotu wygaśnie w dniu {{{item-expiration}}}.
 +
  | pt = Este item vai expirar em {{{item-expiration}}}.
 +
  | pt-br = Este item expirará em {{{item-expiration}}}.
 +
  | ro = Acest obiect va expira la {{{item-expiration}}}.
 +
   | ru = Этот предмет исчезнет {{{item-expiration}}}.
 +
  | sv = Det här föremålet kommer att upphöra den {{{item-expiration}}}.
 +
  | tr = Son kullanma tarihi: {{{item-expiration}}}
 +
  | zh-hans = 这件物品将于{{{item-expiration}}}过期。
 +
  | zh-hant = 此物品將會在 {{{item-expiration}}} 到期。
 
   }}</span>}}<!--
 
   }}</span>}}<!--
  
-->{{#if:{{{item-uses|}}}         |<br /><br /><span class="att_uses">{{lang<!--  
+
-->{{#if:{{{item-uses|}}}|<br><br><span class="att_uses">{{lang
   // Adapted from localization files in the gcf, missing: cs, hu, ro // Others: ar, pt-br -->
+
<!-- Attrib_LimitedUse -->
   | da = Dette er en genstand med begrænset anvendelse. Anvendelser tilbage: {{{item-uses}}}.
+
   | en = This is a limited use item. Uses: {{{item-uses}}}
   | de = Dies ist ein Item mit beschränkter Anwendung. Verbleibende Anwendungen: {{{item-uses}}}.
+
  | cs = Tento předmět má omezený počet použití. Použití: {{{item-uses}}}
  | en = This is a limited use item.  Uses: {{{item-uses}}}
+
   | da = Dette er en genstand med begrænset anvendelse. Anvendelser: {{{item-uses}}}
   | es = Objeto con límite de usos. Usos restantes: {{{item-uses}}}.
+
   | de = Dies ist ein Gegenstand mit beschränkter Anwendung. Verbleibende Anwendungen: {{{item-uses}}}.
   | fi = Rajoitetun käytön esine.  Käyttöjä jäljellä: {{{item-uses}}}.
+
   | es = Artículo con límite de usos. Usos restantes: {{{item-uses}}}
   | hu = Ezt a tárgyat csak meghatározott alkalmanként lehet használni. Ennyiszer: {{{item-uses}}}
+
   | fi = Esineellä on {{{item-uses}}} käyttökertaa jäljellä.
   | fr = Cet objet a un nombre d'utilisations limité. Utilisations restantes : {{{item-uses}}}.
+
   | fr = Cet objet a un nombre d'utilisations limité.<br>Utilisations restantes : {{{item-uses}}}
   | it = Questo è un oggetto a uso limitato. Utilizzi rimasti: {{{item-uses}}}.
+
   | hu = A tárgy használatainak száma korlátozott. Használatok: {{{item-uses}}}
 +
   | it = Questo è un oggetto ad uso limitato. Utilizzi rimasti: {{{item-uses}}}.
 
   | ja = 使用回数制限アイテム。残り使用回数:{{{item-uses}}}。
 
   | ja = 使用回数制限アイテム。残り使用回数:{{{item-uses}}}。
   | ko = 사용 횟수가 제한된 아이템입니다. 남은 사용 횟수: {{{item-uses}}}.
+
   | ko = 사용 횟수가 제한된 아이템으로 {{{item-uses}}} 번 사용할 수 있습니다.
   | nl = Dit voorwerp kun je maar een beperkt aantal keren gebruiken. Resterend: {{{item-uses}}}.
+
   | nl = Dit voorwerp kun je maar een beperkt aantal keren gebruiken. Resterend: {{{item-uses}}}
   | no = Denne gjenstanden har begrenset bruk. Gjenstående bruk: {{{item-uses}}}.
+
   | no = Denne gjenstanden har begrenset bruk. Gjenstående bruk: {{{item-uses}}}
   | pl = Ten przedmiot można użyć jeszcze {{{item-uses}}} razy.
+
   | pl = Ten przedmiot ma ograniczoną liczbę użyć. Pozostało: {{{item-uses}}}
   | pt = Este é um item de utilização limitada. Utilizações restantes: {{{item-uses}}}.
+
   | pt = Este é um item de utilização limitada. Usos: {{{item-uses}}}.
   | pt-br = Este é um item de utilização limitada. Utilizações restantes: {{{item-uses}}}.
+
   | pt-br = Este é um item de uso limitado. Usos: {{{item-uses}}}
   | ru = Этот предмет можно использовать ограниченное количество раз. Осталось: {{{item-uses}}} раз(а).
+
  | ro = Acesta este un obiect cu număr limitat de utilizări. Utilizări: {{{item-uses}}}
   | sv = Det här föremålet har begränsad användning. Gånger kvar: {{{item-uses}}}.
+
   | ru = Число использований ограничено. Осталось: {{{item-uses}}} раз(а)
   | zh-hans = 这是受限使用物品。使用剩余量:{{{item-uses}}}
+
   | sv = Det här föremålet har begränsad användning. Gånger kvar: {{{item-uses}}}
   | zh-hant = 這是有使用限制的物品。剩餘使用次數:{{{item-uses}}}
+
  | tr = Bu eşyanın kullanım sınırı vardır. Kullanım: {{{item-uses}}}
 +
   | zh-hans = 此物品使用次数有限。剩余次数:{{{item-uses}}}
 +
   | zh-hant = 這是有使用限制的物品。剩餘使用次數:{{{item-uses}}}
 
   }}</span>}}<!--
 
   }}</span>}}<!--
  
-->{{#if:{{{item-flags|}}}       |<br /><br /><span class="att_flags">( {{{item-flags}}} )</span>
+
-->{{#if:{{{item-flags|}}}|<br><br><span class="att_neutral">( {{{item-flags}}} )</span>}}
}}</div></div></includeonly><noinclude>
+
{{#if:{{{no-level|}}}|[[Category:Nolevel ERROR]]|}}</span></div></div><!--
{{Translation switching|all languages except: ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ru, sv, zh-hans, zh-hant|One single line at the bottom requires translation.}}
+
 
{{Template doc}}
+
// Pages using outdated parameters will be put into a tracking category. The number separates out the pages by issue.
[[Category:Formatting templates|Backpack item]]
+
 
[[Category:Image insertion templates|Backpack item]]
+
-->{{#if:{{{item-level|}}}|{{#if:{{{item-kind|}}}||[[Category:Outdated Backpack item parameters|{{#ifeq:{{NAMESPACE}}|User|User|{{if lang|en=en|non-en={{SUBPAGENAME}}}}}}]]}}}}<!--
</noinclude>
+
-->{{#if:{{{neutral-attributes|}}}|[[Category:Outdated Backpack item parameters|1]]}}<!--
 +
-->{{#if:{{{positive-attributes|}}}|[[Category:Outdated Backpack item parameters|2]]}}<!--
 +
-->{{#if:{{{negative-attributes|}}}|[[Category:Outdated Backpack item parameters|3]]}}<!--
 +
-->{{#if:{{{unusual-icon|}}}|{{#if:{{{att-1-neutral|}}}|[[Category:Outdated Backpack item parameters|4]]}}}}<!--
 +
-->{{#if:{{{strange-secondary|}}}{{{att-strangerank-1|}}}|[[Category:Outdated Backpack item parameters|5]]}}<!--
 +
--></includeonly><noinclude>
 +
{{Translation switching|en, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 +
{{Documentation}}
 +
[[Category:Formatting templates]]
 +
[[Category:Image insertion templates]]</noinclude>

Latest revision as of 13:05, 8 August 2024

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

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

Parameters

Parameter Example Description Code Example Result
Basics
item-name Condor Cap Proper item name in English (Condor Cap instead of Bonnet de condor, for example). Automatically grabs the item's icon. The item name is automatically translated on any language subpages.
{{Backpack item
| item-name = Condor Cap
| item-kind = Hat
}}
Backpack Condor Cap.png

Condor Cap
Level 1 - 100 Hat

custom-name Spam Hammer Adds a custom name with quotation marks. Still needs item-name to produce the correct image.
{{Backpack item
| item-name = Homewrecker
| custom-name = Spam Hammer
| item-kind = Sledgehammer
| item-level = 5
| att-1-positive = +100% damage vs buildings
| att-2-positive = Damage removes Sappers
| att-3-negative = -25% damage vs players
}}
Backpack Homewrecker.png

"Spam Hammer"
Level 5 Sledgehammer
+100% damage vs buildings
Damage removes Sappers
-25% damage vs players

no-custom-name-quotes yes Removes quotation marks from custom names if the custom-name field is used. Used in conjunction with custom-name.
{{Backpack item
| item-name = Texas Slim's Dome Shine
| custom-name = Cream Gravy
| no-custom-name-quotes = yes
| item-kind = Hat
| item-description = Sometimes you just need a little less hat.
}}
Backpack Texas Slim's Dome Shine.png

Cream Gravy
Level 1 - 100 Hat
Sometimes you just need a little less hat.

custom-icon BLU Bombcart.png Adds a custom icon for users' own purposes. This parameter is independent from item-name parameter.
{{Backpack item
| item-name = Mr. Quackers
| custom-icon = BLU Bombcart.png
| item-kind = Mask
| grade = Assassin
}}
BLU Bombcart.png

Mr. Quackers
Assassin Grade Mask
Mask

item-description This hat is the greatest. For items that have an in-game description. Will not display if a custom-description is set. Can use a custom value.
{{Backpack item
| item-name = Yule Hog
| item-kind = Hat
| grade = Mercenary
| item-description = This hat is the greatest.
}}
Backpack Yule Hog.png

Yule Hog
Mercenary Grade Hat
Hat

This hat is the greatest.

custom-description This hat is also 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. Can use a custom value.
{{Backpack item
| item-name = Napper's Respite
| item-kind = Hat
| custom-description = This hat is also the greatest.
}}
Backpack Napper's Respite.png

Napper's Respite
Level 1 - 100 Hat
"This hat is also the greatest."

prefix none
The Best
Set to "none" to hide any prefix added by quality, while keeping the quality's color. Can use a custom value.
{{Backpack item
| item-name = Flare Gun
| prefix = The Best
| 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
}}
Backpack Flare Gun.png

The Best Flare Gun
Level 10 Flare Gun
100% critical hit vs burning players
This weapon will reload when not active

suffix none
(Slight Return)
Similar to prefix, mainly for use in non-en pages. Can use a custom value.
{{Backpack item
| item-name = Flame Thrower
| suffix = (Slight Return)
| quality = normal
| item-kind  = Flame Thrower
| item-level = 1
| att-1-positive = Extinguishing teammates restores 20 health
| item-description = Afterburn reduces Medi Gun healing and resist shield effects.<br>Alt-Fire: Release a blast of air that pushes enemies and projectiles and extinguish teammates that are on fire.
}}
Backpack Flame Thrower.png

Flame Thrower (Slight Return)
Level 1 Flame Thrower
Extinguishing teammates restores 20 health
Afterburn reduces Medi Gun healing and resist shield effects.
Alt-Fire: Release a blast of air that pushes enemies and projectiles and extinguish teammates that are on fire.

item-level none The item's level. Set to "none" to hide the level. Defaults to "Level 1 - 100". Can use a custom value.
{{Backpack item
| item-name = Antarctic Researcher
| prefix = The
| item-kind = Coat
| item-level = 68
}}
Backpack Antarctic Researcher.png

The Antarctic Researcher
Level 68 Coat

item-kind Hat Item kind. This string is not automatically translated.
{{Backpack item
| item-name = Lucky Cat Hat
| grade = Elite
| item-kind = Absolute Meower
}}
Backpack Lucky Cat Hat.png

Lucky Cat Hat
Elite Grade Absolute Meower
Absolute Meower

Quality
quality genuine Defaults to "unique" (the standard item yellow). See Item quality for a list of accepted values.
{{Backpack item
| item-name = Horseless Headless Horsemann's Headtaker
| quality = genuine
| item-kind = Axe
| item-description = Cursed by dark spirits similar to those that dwell within the Eyelander.
| item-flags = Not Tradable or Marketable
| att-1-neutral = This weapon has a large melee range and deploys and holsters slower
| att-2-negative = No random critical hits
| att-3-negative = -25 max health on wearer
}}
Backpack Horseless Headless Horsemann's Headtaker.png

Genuine Horseless Headless Horsemann's Headtaker
Level 1 - 100 Axe
This weapon has a large melee range and deploys and holsters slower
No random critical hits
-25 max health on wearer
Cursed by dark spirits similar to those that dwell within the Eyelander.

( Not Tradable or Marketable )

unusual-effect Stormy Storm Adds the specified Unusual effect to the item's description. Also adds an Unusual at the top right of the item icon, indicating the item has an Unusual effect. See Unusual for a list of accepted values.
{{Backpack item
| item-name = Rimmed Raincatcher
| unusual-effect = Stormy Storm
| quality = unusual
| item-kind = Hat
| item-description = Because there's no alliteration like alliteration with an 'ARR!'
}}
Viewmode unusual.png
Backpack Rimmed Raincatcher.png

Unusual Rimmed Raincatcher
Level 1 - 100 Hat
★ Unusual Effect: Stormy Storm
Because there's no alliteration like alliteration with an 'ARR!'

rankson Buildings Sapped Primary stat being tracked for a Strange item.
{{Backpack item
| item-name = Shovel
| strange-icon = yes
| rankson = Buildings Sapped
| killcount = 0
| quality = strange
| item-kind  = Shovel
}}
Viewmode strange.png
Backpack Shovel.png

Strange Shovel
Strange Shovel - Buildings Sapped: 0

killcount 7613 Number of points for the primary stat being tracked. Can use a custom value.
{{Backpack item
| item-name = Big Elfin Deal
| strange-icon = yes
| rankson = Points Scored
| killcount = 7613
| quality = strange
| item-kind  = Hat
| item-description = You ask me if I wanna be a dentist one more time, pal, I'm gonna kick your teeth in.
}}
Viewmode strange.png
Backpack Big Elfin Deal.png

Australian Big Elfin Deal
Australian Hat - Points Scored: 7613
You ask me if I wanna be a dentist one more time, pal, I'm gonna kick your teeth in.

rankson2 Kill assists For Strange Parts or the secondary stat being tracked. rankson3 and rankson4 work similarly.
{{Backpack item
| item-name = Medi Gun
| strange-icon = yes
| rankson = Ubers
| rankson2 = Kill Assists
| killcount = 0
| killcount2 = 0
| quality = strange
| item-kind  = Medi Gun
}}
Viewmode strange.png
Backpack Medi Gun.png

Strange Medi Gun
Strange Medi Gun - Ubers: 0
(Kill Assists: 0)

killcount2 50 Number of points for Strange Parts or the secondary stat being tracked. killcount3 and killcount4 work similarly. Can use a custom value.
{{Backpack item
| item-name = Sniper Rifle
| strange-icon = yes
| rankson = Kills
| rankson2 = Damage Dealt
| killcount = 0
| killcount2 = 50
| quality = strange
| item-kind  = Sniper Rifle
}}
Viewmode strange.png
Backpack Sniper Rifle.png

Strange Sniper Rifle
Strange Sniper Rifle - Kills: 0
(Damage Dealt: 50)

filter Coldfront Adds the appropriate Strange Filter prefix/suffix to the weapon. See List of maps for a list of accepted values.
{{Backpack item
| item-name = Shotgun
| filter = Coldfront
| strange-icon = yes
| rankson = kills
| killcount = 0
| quality = strange
| item-kind  = Shotgun
| item-level = 1
}}
Viewmode strange.png
Backpack Shotgun.png

Strange Frosty Shotgun
Strange Shotgun - Kills: 0

strange-icon yes Adds an icon at the top right of the item icon, indicating the item is Strange.
{{Backpack item
| item-name = Scattergun
| strange-icon = yes
| rankson = kills
| killcount = 0
| quality = strange
| item-kind  = Scattergun
}}
Viewmode strange.png
Backpack Scattergun.png

Strange Scattergun
Strange Scattergun - Kills: 0

limited yes If set to "yes", the the item kind will be colored yellow, and the word "Limited" will be added with a link to Limited Quantity.
{{Backpack item
| item-name = Batter's Helmet
| limited = yes
| item-kind = Hat
| item-description = You'll be batting a thousand (skulls in) when you don this red piece of plastic!
}}
Backpack Batter's Helmet.png

Batter's Helmet
Limited Level 1 - 100 Hat
You'll be batting a thousand (skulls in) when you don this red piece of plastic!

grade Commando Colors the item's name according to the specified grade, and treats it like a graded item. Valid options are Civilian, Freelance, Mercenary, Commando, Assassin, and Elite.
{{Backpack item
| item-name = Sapper
| grade = Commando
| quality = Normal
| item-kind = Sapper
| item-description = Place on enemy buildings to disable and slowly drain away its health. Placing a sapper does not remove your disguise
}}
Backpack Electro Sapper.png

Sapper
Commando Grade Sapper
Sapper

Place on enemy buildings to disable and slowly drain away its health. Placing a sapper does not remove your disguise

wear Field-Tested For use on Decorated weapons. Valid options are Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, and Factory New.
{{Backpack item
| item-name = Minigun
| wear = Field-Tested
| skin = War Room
| grade = Commando
| item-kind = Minigun
}}
Backpack War Room Minigun Field-Tested.png

War Room Minigun
Commando Grade Minigun (Field-Tested)

skin Warhawk Decorated skin name. See Template:Dictionary/decorated#Skins for a list of accepted values.
{{Backpack item
| item-name = Rocket Launcher
| wear = Factory New
| skin = Warhawk
| grade = Elite
| item-kind = Rocket Launcher
}}
Backpack Warhawk Rocket Launcher Factory New.png

Warhawk Rocket Launcher
Elite Grade Rocket Launcher (Factory New)

stat-icon yes Adds an icon at the top right of the backpack image, indicating the item is Graded and Strange.
{{Backpack item
| item-name = Revolver
| wear = Factory New
| skin = Blitzkrieg
| grade = Mercenary
| quality = Strange
| stat-icon = yes
| rankson = kills
| killcount = 25
| item-kind = Revolver
}}
Viewmode statclock.png
Backpack Blitzkrieg Revolver Factory New.png

Scarcely Lethal Blitzkrieg Revolver
Mercenary Grade Revolver (Factory New)
Scarcely Lethal Stat Clock Attached
Kills: 25

pyroland-icon yes Adds an icon at the top right of the backpack image, indicating the item is only visible in Pyroland.
{{Backpack item
| item-name = Pyrovision Goggles
| item-kind = Pyrovision Goggles
| item-level = 1-100
| pyroland-icon = yes
| item-description = Enter a world of imagination that's far superior to the crap-ass worlds of imagination you get from books. Pyrovision lets you see the TF2niverse from our favorite arsonist's perspective.
| item-flags = Achievement Item: Not Tradable or Marketable
| att-1-positive = On Equip: Visit Pyroland
}}
Viewmode pyrovision.png
Backpack Pyrovision Goggles.png

Pyrovision Goggles
Level 1-100 Pyrovision Goggles
On Equip: Visit Pyroland
Enter a world of imagination that's far superior to the crap-ass worlds of imagination you get from books. Pyrovision lets you see the TF2niverse from our favorite arsonist's perspective.

( Achievement Item: Not Tradable or Marketable )

halloween-icon yes Adds an icon at the top right of the backpack image, indicating the item is only visible during Halloween/Full Moon.
{{Backpack item
| item-name = Chicken Kiev
| prefix = The
| item-kind = Bird Head
| halloween-icon = yes
| att-1-negative = Holiday Restriction: Halloween / Full Moon
}}
Viewmode spooky off.png
Backpack Chicken Kiev.png

The Chicken Kiev
Level 1 - 100 Bird Head
Holiday Restriction: Halloween / Full Moon

loaner-icon yes Adds an icon at the top right of the backpack image, indicating the item is being loaned.
{{Backpack item
| item-name      = Black Box
| item-kind      = Rocket Launcher
| item-level     = 5
| loaner-icon    = yes
| prefix         = The
| att-1-positive = On Hit: Gain up to +20 health per attack
| att-2-negative = -25% clip size
| item-flags     = Loaner - Cannot be traded, marketed, crafted, or modified
}}
Viewmode loaner.png
Backpack Black Box.png

The Black Box
Level 5 Rocket Launcher
On Hit: Gain up to +20 health per attack
-25% clip size

( Loaner - Cannot be traded, marketed, crafted, or modified )

Attributes
paint-color Mann Co. Orange Adds a colored paint splat at the top right of the item icon, indicating the item is painted. See Paint Can for a list of accepted values.
{{Backpack item
| item-name = Mislaid Sweater
| paint-color = Mann Co. Orange
| prefix = The
| item-kind = Sweater
| grade = commando
}}
Paint Splat CF7336.png
Backpack Mislaid Sweater.png

The Mislaid Sweater
Commando Grade Sweater
Sweater

decal-icon yes Adds this icon at the top right of the item icon, indicating the item has a Decal applied.
{{Backpack item
| item-name = Photo Badge
| decal-icon = yes
| item-kind = Photo Badge
| item-level = 20
| item-description = Discourage identity theft.<br><br>Custom decals can be applied to this item.
}}
Paint Splat Decal.png
Backpack Photo Badge.png

Photo Badge
Level 20 Photo Badge
Discourage identity theft.

Custom decals can be applied to this item.

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

att-1-neutral = Cloak Type: Feign Death
att-2-positive = Live forever!
att-3-negative = Just kidding.

Displays up to 8 positive, negative, or neutral values. Can use custom values.
{{Backpack item
| item-name = Dead Ringer
| item-kind = Invis Watch
| item-level = 5
| att-1-neutral = Cloak Type: Feign Death
| att-2-positive = Live forever!
| att-3-negative = Just kidding.
}}
Backpack Dead Ringer.png

Dead Ringer
Level 5 Invis Watch
Cloak Type: Feign Death
Live forever!
Just kidding.

gift-from Robin Display the source of a gifted item. Can use a custom value.
{{Backpack item
| item-name = Robin Walkers
| item-kind = Slippers
| grade = Elite
| gift-from = Robin
| date-received = Mar 29, 2018 (21:43:08)
}}
Backpack Robin Walkers.png

Robin Walkers
Elite Grade Slippers
Slippers


Gift from: Robin
Date Received: Mar 29, 2018 (21:43:08)

date-received Sep 13, 2188 (06:30:00) Display the date a gifted item was received. Will not appear if no gift-from is defined. Can use a custom value.
{{Backpack item
| item-name = Level Three Chin
| item-kind = Chin
| prefix = The
| item-level = 3
| gift-from = Gabe Newell
| date-received = Sep 13, 2188 (06:30:00)
}}
Backpack Level Three Chin.png

The Level Three Chin
Level 3 Chin

Gift from: Gabe Newell
Date Received: Sep 13, 2188 (06:30:00)

item-expiration Dec 31, 2010 (23:00:00) For items that expire. Can use a custom value.
{{Backpack item
| item-name = Gift-Stuffed Stocking
| item-uses = 1
| item-level = 13
| item-kind = Gift
| item-flags = Not Tradable or Marketable
| item-description = Contains an assortment of goodies for good little Mercenaries.
| item-expiration = Dec 31, 2010 (23:00:00)
}}
Backpack Gift-Stuffed Stocking.png

Gift-Stuffed Stocking
Level 13 Gift
Contains an assortment of goodies for good little Mercenaries.

This item will expire on Dec 31, 2010 (23:00:00).

This is a limited use item. Uses: 1

( Not Tradable or Marketable )

item-uses 4 For items that have a limited number of uses. Can use a custom value.
{{Backpack item
| item-name = Noise Maker - Black Cat 
| item-uses = 4
| item-level = 5
| item-kind = Party Favor
}}
Backpack Noise Maker - Black Cat.png

Noise Maker - Black Cat
Level 5 Party Favor

This is a limited use item. Uses: 4

item-flags Not Tradable, Marketable, or Usable in Crafting For item flags. Displays them inside brackets. Can use a custom value.
{{Backpack item
| item-name = Wiki Cap
| quality = community
| item-kind = Hat
| item-level = 20
| unusual-effect   = Community Sparkle
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 wiki<br>https://wiki.teamfortress.com/
| item-flags = Not Tradable, Marketable, or Usable in Crafting
}}
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
https://wiki.teamfortress.com/


( Not Tradable, Marketable, or Usable in Crafting )

Styling
width 75% Width parameter. Defaults to 100% in infoboxes, but for other usages, can be any value (%, px, pt, em).
{{Backpack item
| item-name = Jumper's Jeepcap
| width = 75%
| item-kind = Hat
}}
Backpack Jumper's Jeepcap.png

Jumper's Jeepcap
Level 1 - 100 Hat

style background: #490040; Style parameter. Can add any valid CSS style to the main div.
{{Backpack item
| item-name = Burstchester
| style = background: #490040;
| prefix = Taunt:
| item-kind = Special Taunt
| grade = Assassin
| item-description = Community Created All Class Taunt
}}
Backpack Burstchester.png

Taunt: Burstchester
Assassin Grade Special Taunt
Special Taunt

Community Created All Class Taunt

See also

Image insertion templatesview  edit )