Difference between revisions of "Template:Item infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
m (mc)
(43 intermediate revisions by 16 users not shown)
Line 1: Line 1:
 
<noinclude><!--  
 
<noinclude><!--  
  
    // ## Translators: make changes here but please condense them into one edit.
+
Translators: make changes here, but please condense them into one edit.
  
    //
+
NOTE:
    // NOTE:
+
 
    //
+
The coding of this template is quite complicated and may be difficult to comprehend unless you have an advanced understanding of template and ParserFunctions syntax. As it is also used on over 15,000 pages (around 50% of all articles), it is advised that you take care when editing it. Please do not make significant changes without discussing it first on the talk page. If you want to test changes to this template, please do so on its sandbox page: Template:Item infobox/sandbox.
    // The coding of this template is quite complicated and may be difficult to comprehend unless
+
 
    // you have an advanced understanding of template and ParserFunctions syntax. As it is also  
+
If you need help editing this template, please post on the talk page.
    // used on over 15,000 pages (around 50% of all articles), it is advised that you take care when editing it. Please do not make
 
    // significant changes without discussing it first on the talk page.
 
    //
 
    // If you need help editing this template, please post on the talk page.
 
    //
 
  
 
--></noinclude>{{#switch: {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | error | normal}} | normal}}
 
--></noinclude>{{#switch: {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | error | normal}} | normal}}
Line 18: Line 13:
 
  | normal | #default = <!--
 
  | normal | #default = <!--
  
--><div id="right-sidebar"><table class="infobox item-infobox {{{type|item}}}-{{#ifeq:{{lc:{{{game|}}}}}|tfc|tfc-}}infobox" style="width:300px; max-width:300px; {{lang|ar=float:left; margin: 0.5em 1 0.5em 0em;}}">
+
--><div id="right-sidebar"><table class="infobox item-infobox {{{type|item}}}-{{#ifeq:{{lc:{{{game|}}}}}|tfc|tfc-}}infobox" style="width:300px; max-width:300px; {{lang incomplete|ar=float:left; margin: 0.5em 1 0.5em 0em;}}">
 
  <tr>
 
  <tr>
 
   <th class="infobox-header" id="top-header" colspan="2" style="background:#F3A957;">{{{name-override|{{{NAME|{{{name|{{if lang | non-en = {{{title|{{item name|{{BASEPAGENAME}}}}}}}| en = {{{title|{{BASEPAGENAME}}}}}}}}}}}}}}}}</th>
 
   <th class="infobox-header" id="top-header" colspan="2" style="background:#F3A957;">{{{name-override|{{{NAME|{{{name|{{if lang | non-en = {{{title|{{item name|{{BASEPAGENAME}}}}}}}| en = {{{title|{{BASEPAGENAME}}}}}}}}}}}}}}}}</th>
Line 65: Line 60:
 
                           |number-of-3d-images={{{number-of-3d-images|}}}
 
                           |number-of-3d-images={{{number-of-3d-images|}}}
 
                           |view1={{{view1|{{BASEPAGENAME}} RED 3D.jpg}}}
 
                           |view1={{{view1|{{BASEPAGENAME}} RED 3D.jpg}}}
                           |view1name={{{view1name|RED}}}
+
                           |view1name={{{view1name|{{common string|RED}}}}}
 
                           |view2={{{view2|{{BASEPAGENAME}} BLU 3D.jpg}}}
 
                           |view2={{{view2|{{BASEPAGENAME}} BLU 3D.jpg}}}
                           |view2name={{{view2name|BLU}}}
+
                           |view2name={{{view2name|{{common string|BLU}}}}}
 
                           |view3={{{view3|{{BASEPAGENAME}} RED Alt 3D.jpg}}}
 
                           |view3={{{view3|{{BASEPAGENAME}} RED Alt 3D.jpg}}}
 
                           |view3name={{{view3name|}}}
 
                           |view3name={{{view3name|}}}
Line 106: Line 101:
 
                           |3d-festive-alt = yes
 
                           |3d-festive-alt = yes
 
                           |view1={{{view1|{{BASEPAGENAME}} 3D.jpg}}}
 
                           |view1={{{view1|{{BASEPAGENAME}} 3D.jpg}}}
                           |view1name={{{view1name|Normal}}}
+
                           |view1name={{{view1name|{{common string|Normal}}}}}
 
                           |view2={{{view2|{{BASEPAGENAME}} Festive RED 3D.jpg}}}
 
                           |view2={{{view2|{{BASEPAGENAME}} Festive RED 3D.jpg}}}
 
                           |view2name={{{view2name|{{common string|Festive}} ({{common string|RED}})}}}
 
                           |view2name={{{view2name|{{common string|Festive}} ({{common string|RED}})}}}
Line 144: Line 139:
  
 
   // End 'Buy Now' button
 
   // End 'Buy Now' button
 +
 +
  // 'View Listings' button
 +
 +
-->{{#ifeq:{{{marketable|}}}|yes|<!--
 +
--><tr><td colspan="2" class="infobox-data" style="text-align:center">{{Buy now Market|{{lc:{{BASEPAGENAME}}}}}}</td></tr>
 +
}}<!--
 +
 +
  // End 'View Listings' button
 +
 
   // Team-colored images  
 
   // Team-colored images  
  
Line 173: Line 177:
 
   | <td colspan="2" style="padding:none;">
 
   | <td colspan="2" style="padding:none;">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class1}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class1}}}}}}}'''</td>
+
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class1-name|{{#ifeq: {{{team-colors-class1}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class1}}}}}}}}}}'''</td>
 
       </table>
 
       </table>
 
     </td>
 
     </td>
Line 182: Line 186:
 
   | <td colspan="2" style="padding:none;">
 
   | <td colspan="2" style="padding:none;">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class2}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class2}}}}}}}'''</td>
+
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class2-name|{{#ifeq: {{{team-colors-class2}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class2}}}}}}}}}}'''</td>
 
       </table>
 
       </table>
 
     </td>
 
     </td>
Line 191: Line 195:
 
   | <td colspan="2" style="padding:none;">
 
   | <td colspan="2" style="padding:none;">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class3}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class3}}}}}}}'''</td>
+
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class3-name|{{#ifeq: {{{team-colors-class3}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class3}}}}}}}}}}'''</td>
 
       </table>
 
       </table>
 
     </td>
 
     </td>
Line 200: Line 204:
 
   | <td colspan="2" style="padding:none;">
 
   | <td colspan="2" style="padding:none;">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 
       <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class4}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class4}}}}}}}'''</td>
+
       <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class4-name|{{#ifeq: {{{team-colors-class4}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class4}}}}}}}}}}'''</td>
 
       </table>
 
       </table>
 
     </td>
 
     </td>
Line 206: Line 210:
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class4}}}|other||_{{{team-colors-class4}}}}}.png|95x95px]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class4}}}|other||_{{{team-colors-class4}}}}}.png|95x95px]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class4}}}|other||_{{{team-colors-class4}}}}}.png|95x95px]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class4}}}|other||_{{{team-colors-class4}}}}}.png|95x95px]]</td>
   </tr>}} }} }}
+
   </tr>{{#if: {{{team-colors-class5|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class5-name|{{#ifeq: {{{team-colors-class5}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class5}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
 +
  </tr>{{#if: {{{team-colors-class6|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class6-name|{{#ifeq: {{{team-colors-class6}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class6}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
 +
  </tr>{{#if: {{{team-colors-class7|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class7-name|{{#ifeq: {{{team-colors-class7}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class7}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
 +
  </tr>{{#if: {{{team-colors-class8|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class8-name|{{#ifeq: {{{team-colors-class8}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class8}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
 +
  </tr>{{#if: {{{team-colors-class9|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class9-name|{{#ifeq: {{{team-colors-class9}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class9}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
 +
  </tr>{{#if: {{{team-colors-class10|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class10-name|{{#ifeq: {{{team-colors-class10}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class10}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class10}}}|other||_{{{team-colors-class10}}}}}.png|95x95px]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class10}}}|other||_{{{team-colors-class10}}}}}.png|95x95px]]</td>
 +
  </tr>}} }} }} }} }} }} }} }} }}
 
   | <tr>
 
   | <tr>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|95x95px]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|95x95px]]</td>
Line 225: Line 283:
  
 
   --><tr>
 
   --><tr>
   <td colspan="2" style="width:100%; background:#C7A900; text-align:{{lang|ar = right|en = left}};"><!--  
+
   <td colspan="2" style="width:100%; background:#C7A900; text-align:{{lang incomplete|ar = right|en = left}};"><!--  
 
     --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--  
 
     --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--  
 
     -->[[File:Classic Icon.png|20px|Team Fortress Classic|link=Team Fortress Classic{{if lang}}]]<!--  
 
     -->[[File:Classic Icon.png|20px|Team Fortress Classic|link=Team Fortress Classic{{if lang}}]]<!--  
Line 241: Line 299:
  
 
  --><tr><!--  
 
  --><tr><!--  
   --><td colspan="2" style="width:100%; background:#C77700; text-align:{{lang|ar = right|en = left}};"><!--  
+
   --><td colspan="2" style="width:100%; background:#C77700; text-align:{{lang incomplete|ar = right|en = left}};"><!--  
 
     --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--  
 
     --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--  
 
     -->[[File:Quake Icon.png|22px|Team Fortress|link=Team Fortress{{if lang}}]]<!--  
 
     -->[[File:Quake Icon.png|22px|Team Fortress|link=Team Fortress{{if lang}}]]<!--  
Line 273: Line 331:
 
   | da = {{#if:{{{kill-icon-2|}}}|Drabsikoner|Drabsikon}}
 
   | da = {{#if:{{{kill-icon-2|}}}|Drabsikoner|Drabsikon}}
 
   | de = {{#if:{{{kill-icon-2|}}}|Tötungsbilder|Tötungsbild}}
 
   | de = {{#if:{{{kill-icon-2|}}}|Tötungsbilder|Tötungsbild}}
   | es = {{#if:{{{kill-icon-2|}}}|Iconos de Muerte|Icono de Muerte}}
+
   | es = {{#if:{{{kill-icon-2|}}}|Iconos de muerte|Icono de muerte}}
 
   | en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
 
   | en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
 
   | fi = {{#if:{{{kill-icon-2|}}}|Tappokuvakkeet|Tappokuvake}}
 
   | fi = {{#if:{{{kill-icon-2|}}}|Tappokuvakkeet|Tappokuvake}}
Line 280: Line 338:
 
   | it = {{#if:{{{kill-icon-2|}}}|Icone|Icona}} di Morte
 
   | it = {{#if:{{{kill-icon-2|}}}|Icone|Icona}} di Morte
 
   | ja = {{#if:{{{kill-icon-2|}}}|キルアイコン|キルアイコン}}
 
   | ja = {{#if:{{{kill-icon-2|}}}|キルアイコン|キルアイコン}}
   | ko = {{#if:{{{kill-icon-2|}}}|Kill Icons|사살 표시}}
+
   | ko = {{#if:{{{kill-icon-2|}}}|처치 표시|처치 표시}}
 
   | nl = {{#if:{{{kill-icon-2|}}}|Doodsicoons|Doodsicoon}}
 
   | nl = {{#if:{{{kill-icon-2|}}}|Doodsicoons|Doodsicoon}}
 
   | no = {{#if:{{{kill-icon-2|}}}|Draps Ikons|Draps Ikon}}
 
   | no = {{#if:{{{kill-icon-2|}}}|Draps Ikons|Draps Ikon}}
Line 396: Line 454:
 
   | en = Worn by:
 
   | en = Worn by:
 
   | es = Usado por:
 
   | es = Usado por:
   | fr = Porté par:
+
   | fr = Porté par :
 
   | fi = Käyttäjät:
 
   | fi = Käyttäjät:
 
   | hu = Viselheti:
 
   | hu = Viselheti:
Line 433: Line 491:
 
   | en = Slot:
 
   | en = Slot:
 
   | es = Espacio:
 
   | es = Espacio:
   | fr = Emplacement:
+
   | fr = Emplacement :
 
   | fi = Paikka:
 
   | fi = Paikka:
 
   | hu = Hely:
 
   | hu = Hely:
Line 467: Line 525:
 
         | ko = 유탄
 
         | ko = 유탄
 
         | pl = Granaty
 
         | pl = Granaty
 +
        | pt = Granadas
 
         | pt-br = Granadas
 
         | pt-br = Granadas
 
         | ru = Гранаты
 
         | ru = Гранаты
 +
        | sv = Granater
 
         | tr = Bombalar
 
         | tr = Bombalar
 
         | zh-hans = 手雷/榴弹
 
         | zh-hans = 手雷/榴弹
Line 536: Line 596:
 
   | en = Contributed by:
 
   | en = Contributed by:
 
   | es = Creado por:
 
   | es = Creado por:
   | fi = Tekijä(t):
+
   | fi = Tekijä▲:
   | fr = Contribution de:
+
   | fr = Contribution de :
 
   | hu = Készítette:
 
   | hu = Készítette:
 
   | it = Forgiato da:
 
   | it = Forgiato da:
 
   | ja = 作者:
 
   | ja = 作者:
   | ko = 기증자
+
   | ko = 기여자:
 
   | nl = Gemaakt door:
 
   | nl = Gemaakt door:
 
   | no = Bidratt av:
 
   | no = Bidratt av:
Line 573: Line 633:
 
   | es = Lanzamiento:
 
   | es = Lanzamiento:
 
   | fi = Julkaistu:
 
   | fi = Julkaistu:
   | fr = Date d'ajout:
+
   | fr = Date d'ajout :
 
   | hu = Kiadták:
 
   | hu = Kiadták:
 
   | it = Rilasciato:
 
   | it = Rilasciato:
Line 622: Line 682:
 
     // they aren't tradable/giftable unless they are renamed.
 
     // they aren't tradable/giftable unless they are renamed.
 
     -->
 
     -->
  | {{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't trade taunts -->
+
  | {{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't trade or gift taunts -->
 
   | <tr><!--  
 
   | <tr><!--  
  
Line 642: Line 702:
 
   | nl = {{tooltip|Ruilbaar|Of je het voorwerp kan ruilen.}}:
 
   | nl = {{tooltip|Ruilbaar|Of je het voorwerp kan ruilen.}}:
 
   | no = {{tooltip|Byttbar|Om gjenstanden kan brukes i bytting.}}:
 
   | no = {{tooltip|Byttbar|Om gjenstanden kan brukes i bytting.}}:
   | pl = {{tooltip|Wymiana|Czy przedmiot jest wymienialny?}}:
+
   | pl = {{tooltip|Wymiana|Czy przedmiot można wymieniać?}}:
 
   | pt = {{tooltip|Trocável|Se este item pode ser trocado.}}:
 
   | pt = {{tooltip|Trocável|Se este item pode ser trocado.}}:
 
   | pt-br = {{tooltip|Trocável|Se este item pode ser trocado.}}:
 
   | pt-br = {{tooltip|Trocável|Se este item pode ser trocado.}}:
Line 661: Line 721:
 
  }}</td>
 
  }}</td>
 
   </tr>
 
   </tr>
  }}{{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't gift taunts either -->
+
  {{#ifeq:{{lc:{{{trade|}}}}}|no|{{ns:0}}<!-- NULL: can't gift untradable items -->
 
  | <tr><!--  
 
  | <tr><!--  
  
Line 681: Line 741:
 
   | nl = {{tooltip|Schenkbaar|Of je het voorwerp kunt inpakken met Cadeaupapier.}}:
 
   | nl = {{tooltip|Schenkbaar|Of je het voorwerp kunt inpakken met Cadeaupapier.}}:
 
   | no = {{tooltip|Pakkbar|Om gjenstanden kan bli pakket in med gavepapir.}}:
 
   | no = {{tooltip|Pakkbar|Om gjenstanden kan bli pakket in med gavepapir.}}:
   | pl = {{tooltip|Prezent|Czy przedmiot może zostać spakowany jako prezent?}}:
+
   | pl = {{tooltip|Prezent|Czy przedmiot można zapakować jako prezent?}}:
 
   | pt = {{tooltip|Presenteável|Se este item pode ser embrulhado, utilizando o Papel de Embrulho.}}:
 
   | pt = {{tooltip|Presenteável|Se este item pode ser embrulhado, utilizando o Papel de Embrulho.}}:
   | pt-br = {{tooltip|Presenteável|Se este item pode ser embrulhado usando o Embrulho para presente.}}:
+
   | pt-br = {{tooltip|Presenteável|Se este item pode ser embrulhado usando o Embrulho para Presente.}}:
 
   | ro = {{tooltip|Împachetabil|Acest produs se poate împacheta.}}:
 
   | ro = {{tooltip|Împachetabil|Acest produs se poate împacheta.}}:
 
   | ru = {{tooltip|Упаковка|Предмет может быть завернут в подарочную упаковку.}}:
 
   | ru = {{tooltip|Упаковка|Предмет может быть завернут в подарочную упаковку.}}:
Line 691: Line 751:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
   }}]]</td><!--  
 
   }}]]</td><!--  
   --><td class="infobox-data">{{#switch:{{lc:{{{gift|¬}}}}}
+
   --><td class="infobox-data">{{#switch:{{BASEPAGENAME}}
  | ¬
+
  | Gift Wrap
  | yes = {{common string|yes}}
+
  | Giftapult
  | no  = {{common string|no}}
+
  | Description Tag = {{common string|no}}
  | #default = {{{gift|}}}
+
  | #default = {{common string|yes}}
  }}</td></tr>}}<!--  
+
  }}</td></tr>}}}}<!--  
  
 
   // 'craft'
 
   // 'craft'
Line 759: Line 819:
 
   | pl = {{tooltip|Przemalowanie|Czy przedmiot może być przemalowany?}}:
 
   | pl = {{tooltip|Przemalowanie|Czy przedmiot może być przemalowany?}}:
 
   | pt = {{tooltip|Pintável|Se este item pode ser pintado, utilizando uma Lata de Tinta.}}:
 
   | pt = {{tooltip|Pintável|Se este item pode ser pintado, utilizando uma Lata de Tinta.}}:
   | pt-br = {{tooltip|Pintável|Se este item pode ser pintado usando uma Lata de tinta.}}:
+
   | pt-br = {{tooltip|Pintável|Se este item pode ser pintado usando uma Lata de Tinta.}}:
 
   | ru = {{tooltip|Покраска|Предмет может быть покрашен.}}:
 
   | ru = {{tooltip|Покраска|Предмет может быть покрашен.}}:
 
   | sv = {{tooltip|Kan målas|Om objektet kan målas med hjälp av en Färgburk.}}:
 
   | sv = {{tooltip|Kan målas|Om objektet kan målas med hjälp av en Färgburk.}}:
Line 822: Line 882:
 
   | nl = {{tooltip|Benoembaar|Of je het voorwerp een andere naam kan geven met de Naamplaat.}}:
 
   | nl = {{tooltip|Benoembaar|Of je het voorwerp een andere naam kan geven met de Naamplaat.}}:
 
   | no = {{tooltip|Navnbar|Om gjenstanden kan bli omkalt med en navnelapp.}}:
 
   | no = {{tooltip|Navnbar|Om gjenstanden kan bli omkalt med en navnelapp.}}:
   | pl = {{tooltip|Nazywanie|Czy przedmiot może mieć zmienioną nazwę?}}:
+
   | pl = {{tooltip|Nazywanie|Czy można zmienić nazwę przedmiotu?}}:
 
   | pt = {{tooltip|Renomeável|Se o nome deste item pode ser alterado, utilizando a Etiqueta de Nome.}}:
 
   | pt = {{tooltip|Renomeável|Se o nome deste item pode ser alterado, utilizando a Etiqueta de Nome.}}:
   | pt-br = {{tooltip|Renomeável|Se o nome deste item pode ser alterado usando a Etiqueta de nome.}}:
+
   | pt-br = {{tooltip|Renomeável|Se o nome deste item pode ser alterado usando a Etiqueta de Nome.}}:
 
   | ru = {{tooltip|Переименование|Предмет может быть переименован.}}:
 
   | ru = {{tooltip|Переименование|Предмет может быть переименован.}}:
 
   | sv = {{tooltip|Namnbyte|Om objektet kan döpas om med en Namnlapp.}}:
 
   | sv = {{tooltip|Namnbyte|Om objektet kan döpas om med en Namnlapp.}}:
Line 858: Line 918:
 
   | it = {{tooltip|Numerazione|Se l'oggetto può avere un numero di Forgiatura.}}:
 
   | it = {{tooltip|Numerazione|Se l'oggetto può avere un numero di Forgiatura.}}:
 
   | ja = {{tooltip|クラフトNo.|アイテム作成時に通し番号が記録されるかどうか}}:
 
   | ja = {{tooltip|クラフトNo.|アイテム作成時に通し番号が記録されるかどうか}}:
 +
  | ko = {{tooltip|제작 번호|아이템이 제작 번호를 지닌 경우}}:
 
   | nl = {{tooltip|Ontwerpnummer|Of het voorwerp een Ontwerpnummer kan hebben.}}:
 
   | nl = {{tooltip|Ontwerpnummer|Of het voorwerp een Ontwerpnummer kan hebben.}}:
 
   | no = {{tooltip|Konstruerings Nr.?|Om gjenstanden har et Konstruerings nummer.}}:
 
   | no = {{tooltip|Konstruerings Nr.?|Om gjenstanden har et Konstruerings nummer.}}:
Line 863: Line 924:
 
   | ru = {{tooltip|Номер ковки|Может ли предмет иметь номер ковки.}}:
 
   | ru = {{tooltip|Номер ковки|Может ли предмет иметь номер ковки.}}:
 
   | es = {{tooltip|Numeración|Si el objeto fabricado ocupa un número de fabricación.}}:
 
   | es = {{tooltip|Numeración|Si el objeto fabricado ocupa un número de fabricación.}}:
   | pt-br = {{tooltip|Numeração|Se o item fabricado tem um número de fabrico.}}:
+
   | pt = {{tooltip|Numeração|Se o item fabricado tem um número de fabrico.}}:
 
   | pt-br = {{tooltip|Numeração|Se o item fabricado tem um número de fabricação.}}:
 
   | pt-br = {{tooltip|Numeração|Se o item fabricado tem um número de fabricação.}}:
 
   | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa}}:
 
   | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa}}:
 
   | zh-hans = {{tooltip|合成编号|该物品是否可以拥有合成编号。}}
 
   | zh-hans = {{tooltip|合成编号|该物品是否可以拥有合成编号。}}
 
   | zh-hant = {{tooltip|合成編號|該項目是否有合成編號。}}:
 
   | zh-hant = {{tooltip|合成編號|該項目是否有合成編號。}}:
  | ko = {{tooltip|제작 번호|아이템이 제작 번호를 지닌 경우}}
 
 
   | cs = {{tooltip|Craftovací č.|Zda li může předmět mít craftovací číslo, tj. číslo určující jako kolikátý byl daný předmět vytvořen craftováním.}}:
 
   | cs = {{tooltip|Craftovací č.|Zda li může předmět mít craftovací číslo, tj. číslo určující jako kolikátý byl daný předmět vytvořen craftováním.}}:
  | de = {{tooltip|Herstellungs-Nr.?|Kann das Item eine Herstellungsnummer haben?}}:
 
 
   | sv = {{tooltip|Tillverkningsnr.?|Om föremålet har ett Tillverkningsnummer.}}:
 
   | sv = {{tooltip|Tillverkningsnr.?|Om föremålet har ett Tillverkningsnummer.}}:
 
   }}]]</td><!--  
 
   }}]]</td><!--  
Line 908: Line 967:
 
   | pt = Armas permitidas
 
   | pt = Armas permitidas
 
   | ru = Допускается оружие
 
   | ru = Допускается оружие
 +
  | sv = Tillåtna vapen
 
   | tr = İzin verilen silahlar
 
   | tr = İzin verilen silahlar
 
   | zh-hans = 可用武器
 
   | zh-hans = 可用武器
Line 914: Line 974:
 
     | cs = {{tooltip|Středověk|Možnost používání ve Středověkém módu.}}:
 
     | cs = {{tooltip|Středověk|Možnost používání ve Středověkém módu.}}:
 
     | da = {{tooltip|Middelalder|Om genstanden kan blive brugt i Middelalder-tilstand.}}:
 
     | da = {{tooltip|Middelalder|Om genstanden kan blive brugt i Middelalder-tilstand.}}:
     | de = {{tooltip|Medieval|Ob der Gegenstand im Medieval Modus benutzt werden kann.}}:
+
     | de = {{tooltip|Mittelalter|Ob der Gegenstand im Mittelaltermodus benutzt werden kann.}}:
 
     | en = {{tooltip|Medieval|If the item can be used during Medieval mode.}}:
 
     | en = {{tooltip|Medieval|If the item can be used during Medieval mode.}}:
 
     | es = {{tooltip|Medieval|Si el objeto puede ser usado en el Modo Medieval.}}:
 
     | es = {{tooltip|Medieval|Si el objeto puede ser usado en el Modo Medieval.}}:
Line 922: Line 982:
 
     | it = {{tooltip|Medievale|Se l'oggetto può essere utilizzato nella Modalità Medievale.}}:
 
     | it = {{tooltip|Medievale|Se l'oggetto può essere utilizzato nella Modalità Medievale.}}:
 
     | ja = {{tooltip|メディーバル|メディーバルモードで使えるかどうか}}:
 
     | ja = {{tooltip|メディーバル|メディーバルモードで使えるかどうか}}:
     | ko = {{tooltip|중세 여부|아이템이 중세시대 모드에서 사용 가능한 경우}}
+
     | ko = {{tooltip|중세 여부|아이템이 중세 모드에서 사용 가능한 경우}}
 
     | nl = {{tooltip|Middeleeuws|Of je het voorwerp kunt gebruiken in de Middeleeuwse modus.}}:
 
     | nl = {{tooltip|Middeleeuws|Of je het voorwerp kunt gebruiken in de Middeleeuwse modus.}}:
 
     | no = {{tooltip|Middelalder|Om gjenstanden kan brukes i Middelalder modus.}}:
 
     | no = {{tooltip|Middelalder|Om gjenstanden kan brukes i Middelalder modus.}}:
     | pl = {{tooltip|Średniowiecze|Czy przedmiot może być używany w Trybie Średniowiecznym?}}:
+
     | pl = {{tooltip|Średniowiecze|Czy przedmiot może być używany w Średniowieczu?}}:
 
     | pt = {{tooltip|Medieval|Se o item pode ser usado no Modo Medieval.}}:
 
     | pt = {{tooltip|Medieval|Se o item pode ser usado no Modo Medieval.}}:
 
     | pt-br = {{tooltip|Medieval|Se o item pode ser usado no Modo Medieval.}}:
 
     | pt-br = {{tooltip|Medieval|Se o item pode ser usado no Modo Medieval.}}:
Line 1,002: Line 1,062:
 
     | es = Munición cargada:
 
     | es = Munición cargada:
 
     | fi = Lipaskoko:
 
     | fi = Lipaskoko:
     | fr = Munitions chargées:
+
     | fr = Munitions chargées :
 
     | hu = Tárkapacitás:
 
     | hu = Tárkapacitás:
 
     | ja = 装弾数:
 
     | ja = 装弾数:
     | ko = 장탄수
+
     | ko = 장탄수:
 
     | it = Caricatore:
 
     | it = Caricatore:
 
     | nl = Munitie geladen:
 
     | nl = Munitie geladen:
Line 1,014: Line 1,074:
 
     | ro = Muniţie încărcată:
 
     | ro = Muniţie încărcată:
 
     | ru = Наготове:
 
     | ru = Наготове:
     | sv = Ammunition laddad
+
     | sv = Ammunition laddad:
 
     | tr = Şarjör
 
     | tr = Şarjör
 
     | zh-hans = 装弹数量:
 
     | zh-hans = 装弹数量:
Line 1,043: Line 1,103:
 
     | es = Munición llevada:
 
     | es = Munición llevada:
 
     | fi = Kannettuna:
 
     | fi = Kannettuna:
     | fr = Munitions transportées:
+
     | fr = Munitions transportées :
 
     | hu = Tárolt lőszer:
 
     | hu = Tárolt lőszer:
 
     | ja = 弾薬数:
 
     | ja = 弾薬数:
     | ko = 소지 탄약수
+
     | ko = 소지 탄약수:
 
     | it = Munizioni Trasportate:
 
     | it = Munizioni Trasportate:
 
     | nl = Munitie gehouden:
 
     | nl = Munitie gehouden:
Line 1,055: Line 1,115:
 
     | ro = Muniţie în dotare:
 
     | ro = Muniţie în dotare:
 
     | ru = В запасе:
 
     | ru = В запасе:
     | sv = Ammunition buren
+
     | sv = Ammunition buren:
 
     | tr = Taşınan cephane
 
     | tr = Taşınan cephane
 
     | zh-hans = 携弹数量:
 
     | zh-hans = 携弹数量:
Line 1,076: Line 1,136:
 
     | es = Tipo de munición:
 
     | es = Tipo de munición:
 
     | fi = Ammustyyppi:
 
     | fi = Ammustyyppi:
     | fr = Type de munitions:
+
     | fr = Type de munitions :
 
     | hu = Lőszertípus:
 
     | hu = Lőszertípus:
 
     | ja = 弾薬タイプ:
 
     | ja = 弾薬タイプ:
     | ko = 탄약 종류
+
     | ko = 탄약 유형:
 
     | it = Tipo di Munizioni:
 
     | it = Tipo di Munizioni:
 
     | nl = Munitietype:
 
     | nl = Munitietype:
Line 1,088: Line 1,148:
 
     | ru = Тип боеприпасов:
 
     | ru = Тип боеприпасов:
 
     | ro = Tipul muniţiei:
 
     | ro = Tipul muniţiei:
     | sv = Ammunitionstyp
+
     | sv = Ammunitionstyp:
 
     | tr = Cephane tipi
 
     | tr = Cephane tipi
 
     | zh-hans = 子弹类型:
 
     | zh-hans = 子弹类型:
Line 1,107: Line 1,167:
 
     | en = Reload type:
 
     | en = Reload type:
 
     | fi = Lataustapa:
 
     | fi = Lataustapa:
     | fr = Type de rechargement:
+
     | fr = Type de rechargement :
 
     | hu = Újratöltés típusa:
 
     | hu = Újratöltés típusa:
 
     | ja = 装弾方式:
 
     | ja = 装弾方式:
     | ko = 장전 방식
+
     | ko = 장전 방식:
 
     | es = Tipo de recarga:
 
     | es = Tipo de recarga:
 
     | it = Tipo di Ricarica:
 
     | it = Tipo di Ricarica:
Line 1,120: Line 1,180:
 
     | ro = Tip de reîncărcare:
 
     | ro = Tip de reîncărcare:
 
     | ru = Тип перезарядки:
 
     | ru = Тип перезарядки:
     | sv = Laddningstyp
+
     | sv = Laddningstyp:
 
     | tr = Dolduruş tipi
 
     | tr = Dolduruş tipi
 
     | zh-hans = 填充类型:
 
     | zh-hans = 填充类型:
Line 1,143: Line 1,203:
 
   <th class="infobox-header" colspan="2">{{lang
 
   <th class="infobox-header" colspan="2">{{lang
 
     | en = Available Qualities
 
     | en = Available Qualities
     | cs = Dostupné kvality
+
     | cs = Dostupné Kvality
 
     | da = Tilgængelige Kvaliteter
 
     | da = Tilgængelige Kvaliteter
 
     | de = Verfügbare Qualitäten
 
     | de = Verfügbare Qualitäten
 
     | es = Aspectos Disponibles
 
     | es = Aspectos Disponibles
     | fi = Olemassaolevat laadut
+
     | fi = Olemassaolevat Laadut
 
     | fr = Qualités Disponibles
 
     | fr = Qualités Disponibles
     | hu = Rendekjezésre álló ritkaságok
+
     | hu = Rendekjezésre álló Ritkaságok
     | it = Qualità disponibili
+
     | it = Qualità Disponibili
 
     | ja = 存在するクオリティ
 
     | ja = 存在するクオリティ
 
     | ko = 존재하는 품질
 
     | ko = 존재하는 품질
     | no = Tilgjengelige kvaliteter
+
     | no = Tilgjengelige Kvaliteter
 +
    | nl = Verkrijgbare kwaliteiten
 
     | pl = Dostępne jakości
 
     | pl = Dostępne jakości
 
     | pt = Qualidades Disponíveis
 
     | pt = Qualidades Disponíveis
 
     | pt-br = Qualidades disponíveis
 
     | pt-br = Qualidades disponíveis
 
     | ru = Доступные качества
 
     | ru = Доступные качества
     | sv = Tillgängliga kvaliteter
+
     | sv = Tillgängliga Kvaliteter
 
     | tr = Mevcut Nitelikler
 
     | tr = Mevcut Nitelikler
 
     | zh-hans = 可获取的品质
 
     | zh-hans = 可获取的品质
Line 1,176: Line 1,237:
 
  -->{{#switch:{{lc:{{{loadout|¬}}}}}
 
  -->{{#switch:{{lc:{{{loadout|¬}}}}}
 
  | no
 
  | no
  | ¬ = {{ns:0}}<!-- Hide loadout by default, and if loadout is set to 'no' -->
+
  | ¬ = {{ns:0}}<!-- Hide loadout by default and if loadout is set to 'no' -->
 
  | #default = <tr>
 
  | #default = <tr>
 
   <th class="infobox-header" colspan="2">{{lang
 
   <th class="infobox-header" colspan="2">{{lang
Line 1,186: Line 1,247:
 
     | es = Estadísticas
 
     | es = Estadísticas
 
     | fi = Varustelastiominaisuudet
 
     | fi = Varustelastiominaisuudet
     | fr = Statistiques d'Inventaire
+
     | fr = Statistiques d'inventaire
 
     | hu = Statisztikák
 
     | hu = Statisztikák
 
     | ja = バックパック内表示
 
     | ja = バックパック内表示
Line 1,210: Line 1,271:
 
   -->{{Backpack item
 
   -->{{Backpack item
 
  | file-link = yes
 
  | file-link = yes
 +
| unusual-icon = {{{unusual-icon|}}}
 +
| strange-icon = {{{strange-icon|}}}
 +
| stat-icon = {{{stat-icon|}}}
 +
| decal-icon = {{{decal-icon|}}}
 +
| pyroland-icon = {{{pyroland-icon|}}}
 
  | custom-icon = {{{custom-icon|}}}
 
  | custom-icon = {{{custom-icon|}}}
 
  | quality = {{{quality|Unique}}}
 
  | quality = {{{quality|Unique}}}
 
  | prefix = {{{prefix|}}}
 
  | prefix = {{{prefix|}}}
 
  | suffix = {{{suffix|}}}
 
  | suffix = {{{suffix|}}}
 +
| {{#if:{{{rankson|}}}|rankson|void}}={{{rankson|}}}
 +
| {{#if:{{{rankson2|}}}|rankson2|void}}={{{rankson2|}}}
 +
| {{#if:{{{rankson3|}}}|rankson3|void}}={{{rankson3|}}}
 +
| {{#if:{{{rankson4|}}}|rankson4|void}}={{{rankson4|}}}
 +
| {{#if:{{{rankson5|}}}|rankson5|void}}={{{rankson5|}}}
 +
| {{#if:{{{rankson6|}}}|rankson6|void}}={{{rankson6|}}}
 +
| {{#if:{{{rankson7|}}}|rankson7|void}}={{{rankson7|}}}
 +
| {{#if:{{{rankson8|}}}|rankson8|void}}={{{rankson8|}}}
 +
| {{#if:{{{rankson9|}}}|rankson9|void}}={{{rankson9|}}}
 +
| killcount = {{{killcount|0}}}
 +
| killcount2 = {{{killcount2|0}}}
 +
| killcount3 = {{{killcount3|0}}}
 +
| killcount4 = {{{killcount4|0}}}
 +
| killcount5 = {{{killcount5|0}}}
 +
| killcount6 = {{{killcount6|0}}}
 +
| killcount7 = {{{killcount7|0}}}
 +
| killcount8 = {{{killcount8|0}}}
 +
| killcount9 = {{{killcount9|0}}}
 
  | item-name = {{BASEPAGENAME}}
 
  | item-name = {{BASEPAGENAME}}
 
  | item-name-local = {{#if:{{{loadout-name|}}}
 
  | item-name-local = {{#if:{{{loadout-name|}}}
Line 1,236: Line 1,320:
 
   }}
 
   }}
 
   }}
 
   }}
| limited = {{{limited|no}}}
+
  | limited = {{{limited|no}}}
| item-level = {{#if:{{{level|}}}
+
  | grade = {{{grade|}}}
   | {{{level}}}
+
   | wear = {{{wear|}}}
   | {{#switch:{{lc:{{{type|}}}}}
+
   | unusual-effect = {{{unusual-effect|}}}
  | cosmetic | hats | head | headwear | hat = {{lang
+
  | item-kind = {{{item-kind|}}}
    | en = Level 1–100 Hat
+
  | {{#if:{{{level|}}}|item-level|void}} = {{{level|}}}
    | da = Niveau 1-100 hat
+
   | no-level = {{{no-level}}}
    | de = Hut Level 1–100
 
    | es = Sombrero de Nivel 1–100
 
    | fi = Tason 1-100 Hattu
 
    | fr = Chapeau niveau 1-100
 
    | hu = 1-100. szintű sapka
 
    | nl = Level 1-100 Hoed
 
    | no = Nivå 1-100 Hatt
 
    | ko = 레벨 1-100 모자
 
    | it = Cappello - Livello 1–100
 
    | ja = レベル 1–100
 
    | pl = Nakrycie głowy poziomu 1-100
 
    | pt = Chapéu Nível 1-100
 
    | ru = Головной убор 1-100-го уровня
 
    | tr = Seviye 1-100 Şapka
 
    | zh-hans = 等级 1-100 帽子
 
    | zh-hant = 等級 1-100 頭飾
 
    | de = Hut Level 1-100
 
    | pt-br = Chapéu nível 1-100
 
    }}
 
  | #default = {{lang
 
    | ar = مستوى 1–100
 
    | cs = Level 1–100
 
    | da = Niveau 1–100
 
    | de = Level 1–100
 
    | en = Level 1–100
 
    | es = Nivel 1–100
 
    | fi = Taso 1–100
 
    | fr = Niveau 1–100
 
    | hu = 1–100. szintű
 
    | it = Livello 1–100
 
    | ja = レベル 1–100
 
    | ko = 레벨 1–100
 
    | nl = Level 1–100
 
    | no = Nivå 1–100
 
    | pl = Poziom 1–100
 
    | pt = Nível 1–100
 
    | pt-br = Nível 1–100
 
    | ro = Nivel 1–100
 
    | ru = 1–100-го уровня
 
    | sv = Nivå 1–100
 
    | tr = Seviye 1–100
 
    | zh-hans = 等级 1–100
 
    | zh-hant = 等級 1–100
 
    }}
 
  }}
 
   }}
 
| no-level = {{{no-level}}}
 
| null = <!--
 
 
 
  // Ideally, 'positive-attributes', 'negative-attributes', etc, would no longer be used.
 
  // When all pages are swept over all instances of these parameters should be changed.
 
  // All hat descriptions should also use 'item-description' over 'neutral-attributes'.
 
  
  -->
 
 
   | att-1-positive = {{{att-1-positive|}}}
 
   | att-1-positive = {{{att-1-positive|}}}
 
   | att-1-negative = {{{att-1-negative|}}}
 
   | att-1-negative = {{{att-1-negative|}}}
   | att-1-neutral = {{#if:{{{att-1-neutral|}}}
+
   | att-1-neutral = {{{att-1-neutral|}}}
  | {{{att-1-neutral|}}}
 
  | {{#switch:{{lc:{{{type|}}}}}
 
  | weapon
 
  | weapons = {{{neutral-attributes|}}}
 
  | #default = {{ns:0}}<!-- NULL -->
 
  }}
 
  }}
 
  
   | att-2-positive = {{{att-2-positive|{{{positive-attributes|}}}}}}  
+
   | att-2-positive = {{{att-2-positive|}}}
   | att-2-negative = {{{att-2-negative|}}}  
+
   | att-2-negative = {{{att-2-negative|}}}
   | att-2-neutral = {{{att-2-neutral|}}}  
+
   | att-2-neutral = {{{att-2-neutral|}}}
  
   | att-3-positive = {{{att-3-positive|}}}  
+
   | att-3-positive = {{{att-3-positive|}}}
   | att-3-negative = {{{att-3-negative|{{{negative-attributes|}}}}}}  
+
   | att-3-negative = {{{att-3-negative|}}}
   | att-3-neutral = {{{att-3-neutral|}}}  
+
   | att-3-neutral = {{{att-3-neutral|}}}
  
   | att-4-positive = {{{att-4-positive|}}}  
+
   | att-4-positive = {{{att-4-positive|}}}
   | att-4-negative = {{{att-4-negative|}}}  
+
   | att-4-negative = {{{att-4-negative|}}}
   | att-4-neutral = {{{att-4-neutral|}}}  
+
   | att-4-neutral = {{{att-4-neutral|}}}
  
   | att-5-positive = {{{att-5-positive|}}}  
+
   | att-5-positive = {{{att-5-positive|}}}
   | att-5-negative = {{{att-5-negative|}}}  
+
   | att-5-negative = {{{att-5-negative|}}}
   | att-5-neutral = {{{att-5-neutral|}}}  
+
   | att-5-neutral = {{{att-5-neutral|}}}
  
   | att-6-positive = {{{att-6-positive|}}}  
+
   | att-6-positive = {{{att-6-positive|}}}
   | att-6-negative = {{{att-6-negative|}}}  
+
   | att-6-negative = {{{att-6-negative|}}}
   | att-6-neutral = {{{att-6-neutral|}}}  
+
   | att-6-neutral = {{{att-6-neutral|}}}
  
   | att-7-positive = {{{att-7-positive|}}}  
+
   | att-7-positive = {{{att-7-positive|}}}
   | att-7-negative = {{{att-7-negative|}}}  
+
   | att-7-negative = {{{att-7-negative|}}}
   | att-7-neutral = {{{att-7-neutral|}}}  
+
   | att-7-neutral = {{{att-7-neutral|}}}
  
   | att-8-positive = {{{att-8-positive|}}}  
+
   | att-8-positive = {{{att-8-positive|}}}
   | att-8-negative = {{{att-8-negative|}}}  
+
   | att-8-negative = {{{att-8-negative|}}}
   | att-8-neutral = {{{att-8-neutral|}}}  
+
   | att-8-neutral = {{{att-8-neutral|}}}
  
  | item-description = {{#if:{{{item-description|}}}
+
  | item-description = {{{item-description|}}}
  | {{{item-description|}}}
 
  | {{#switch:{{lc:{{{type|}}}}}
 
  | cosmetic
 
  | hats
 
  | head
 
  | hat
 
  | headwear = {{{neutral-attributes|}}}
 
  | #default = {{ns:0}}<!-- NULL -->
 
  }}
 
  }}
 
 
  | item-expiration = {{{item-expiration|}}}
 
  | item-expiration = {{{item-expiration|}}}
 
  | item-uses = {{{item-uses|}}}
 
  | item-uses = {{{item-uses|}}}
Line 1,426: Line 1,440:
 
     | weapons = {{#if: {{{contributed-by|}}}|{{ns:0}}|{{#ifeq: {{lc:{{{game|}}}}}|tfc|{{ns:0}}|{{lang cat|Valve-made items|sort={{ucfirst:{{{type|-}}}}}&#32;{{BASEPAGENAME}}}}}}}}
 
     | weapons = {{#if: {{{contributed-by|}}}|{{ns:0}}|{{#ifeq: {{lc:{{{game|}}}}}|tfc|{{ns:0}}|{{lang cat|Valve-made items|sort={{ucfirst:{{{type|-}}}}}&#32;{{BASEPAGENAME}}}}}}}}
 
}}
 
}}
}}<!--  
+
}}
 +
{{#ifeq:{{{limited|}}}|yes|{{lang cat|Limited items}}}}<!--  
  
 
   // Deprecated parameter tracking.
 
   // Deprecated parameter tracking.
Line 1,467: Line 1,482:
 
{{clr}}
 
{{clr}}
 
{{Complex template}}
 
{{Complex template}}
{{translation switching|all languages}}
+
{{translation switching|en, de, es, fr, hu, ja, ko, pl, ru, sv, tr, zh-hans}}
 
{{Ambox
 
{{Ambox
 
| type    = style
 
| type    = style
 
| image    = Warning_yellow.png
 
| image    = Warning_yellow.png
| contents = This template '''MUST NOT''' be used on User pages. Please use [[Template:User item infobox]] instead.
+
| contents = This template <strong>must not</strong> be used on user pages. Please use [[Template:User item infobox]] instead.
 
}}
 
}}
 
{{documentation}}
 
{{documentation}}
 
[[Category:Infobox templates|Item infobox]]
 
[[Category:Infobox templates|Item infobox]]

Revision as of 20:03, 27 August 2019

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

This infobox template can be used to display images and basic information pertaining to items. For infoboxes for other uses, see Category:Infobox templates.

Supersession

{{Item infobox}} deprecates the following templates:

  • {{Weapon infobox}}
  • {{Hat infobox}}
  • {{Tool infobox}}

Errors

This template places pages with incorrect use into tracking categories.

Usage

Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.

{{Item infobox
| name = 
| game = (Only use this if the game is TFC)
| type = 

| image = 
| team-colors = 
| team-colors-width =
| two-models = 

| 3d-alt = 
| 3d-team-alt =
| number-of-3d-images = 
| number-of-3d-team-images = 
| number-of-3d-alt-images = 
| view1name = 
...
| view6name =

| displayed-price = 

| kill-icon-1 = 
...
| kill-icon-6 = 

| kill-tooltip-2 =
...
| kill-tooltip-6 =

| used-by = 
| slot = 
| contributed-by = 
| released = 
| released-major = 
| availability = 
| medieval = 
| taunt-kill =

| trade = 
| marketable = 
| craft = 
| numbered = 
| paint = 
| rename = 

| ammo-loaded = 
| ammo-carried = 
| ammo-type = 
| reload-type = 

| loadout = 
 | custom-icon =
 | level = 
 | no-level = 
 | att-1-positive = 
 ...
 | att-6-negative = 
 | item-description = 

}}

Parameters

Setup parameters

name
The displayed title of the infobox. Not necessary for most English pages as the title is collected from the page's name itself. This is also the name displayed in the loadout stats if enabled (overridden by loadout-name). It also overwrites the displaytitle template and changes the article name into the displayed title of the infobox. The following parameters are also aliases for name, and function in the exact same way:
  • NAME, title, name-override, item-name-override
type[1]
Changes the display of information and the categorization of the page based on type.
  • weapon, cosmetic, taunt, special taunt, action, tool, ingredient
unused
Set to anything to mark the item as "unused". This will hide the "Trading", "Crafting", etc, fields that appear by default, and also removes slot categorization. Also sets slot to "Unknown" if one is not defined.
game[1]
Not necessary for the majority of items. Team Fortress Classic weapon pages need to set this parameter to "tfc".

Image parameters

image
The main infobox image to be displayed directly underneath the title.
Example: File name.png
imagewidth
The width of the image, defaults to 250px. Use this only if the image does not display well at the default size.
Example: 96px
team-colors
Set to "yes" if the item has team-based color variations. The images will be displayed using the syntax "File:RED <Item Name>.png" (where <Item Name> is collected from the page's actual name). This can be overridden with different filenames using skin-image-blu and skin-image-red (see below).
team-colors-width
Sets custom width for the team-based color variation images. Default is 95px.
two-models
On QTF and TFC pages this needs to be defined as "yes". The individual filenames can be defined using QTF-model and TFC-model respectively.
team-colors-class1, team-colors-class2 and team-colors-class3
If item has class specific team colours, specify those classes here. Set to other for "Other classes".
skin-image-blu and skin-image-red
The filenames for team-color images. Overrides defaults (see above).

3d model parameters

For a more complete explanation with examples, see Module:3D viewer advanced.

3d-team
If the weapon has >2 team coloured models set to yes.
3d-alt
If the weapon has alternate models set to yes.
3d-team-alt
If the weapon has both team coloured and non team coloured alt models set to yes.
number-of-3d-team-images
If 3d-team-alt is true set to the number of team coloured models.
number-of-3d-alt-images
If 3d-team-alt is true set to the number of non-team coloured alternate models.
viewnname
The name to display for the nth 3D image.
viewn
Optional overide for model image filename.
Example: Scattergun 3D temp.jpg

Buy now button parameters

displayed-price
The name of the item to display the price of from the price dictionary, if not the same as the page name.

Kill icon parameters

Main templates: {{Icon killicon}} and {{Kill notice}}

The following parameters can only be used if type has been set to weapon or taunt (see above). Up to 6 of each are allowed.

hide-kill-icon
Setting to off or hide will hide the kill icon section from the infobox, even if type is set to weapon or taunt. Common usage: weapons that do not have a kill icon (e.g. Medi Gun).
kill-icon-n
The weapon's kill icons. See {{Icon killicon}} for exact naming. By default, kill-icon-1 will be displayed using the page's name; thus in most circumstances, defining kill-icon parameters is not necessary unless the weapon has additional kill icons (e.g. backstab or flaming arrow).
kill-tooltip-n
The weapons kill icons with an added tooltip (e.g. Flaregun hadouken would have the tooltip "Taunting") . Not a required parameter.
kill-text-n
The kill text displayed within the kill notice. If it does not display properly (i.e. the text is too big), wrap the text in tags.
Example: FISH KILL!

Information parameters

used-by
The class or classes that can use the item. Basic text parameter. Please use {{Used by}} instead of plain text.
slot[1] [primary, secondary, melee, pda1, pda2]
Can only be defined when type is set to weapon or taunt (see above). Other variations:
  • primary: slot1, slot 1, 1
  • secondary: slot2, slot 2, 2
  • melee: slot3, slot 3, 3
  • pda1: pda1, pda 1, disguise kit
  • pda2: pda2, pda 2, watch, cloak
This template will also categorize based on these values.
The default text displayed by these values can also be overridden by setting slot to any other specified value.
Example: Secondary
Primary (Crafting)
Note: this behaviour will disable the automatic categorization based on slot types. Categories will need to be applied to the bottom of the article manually.
The custom-slot parameter can also be used when the slot type is non-standard (e.g. if the weapon has both Primary and Secondary slots).
crafting-slot [primary, secondary]
For weapons that have a different crafting slot to their loadout slot.
  • primary: slot1, slot 1, 1
  • secondary: slot2, slot 3, 3
equip-region and equip-region-2 [whole head, hat, face, glasses, ears, beard, shirt, medal, arms, back, feet, heavy pocket, engineer belt, engineer pocket, scout necklace, sniper necklace, scout backpack, demoman bombs, medic backpack, medic necklace]
The item's equip region according to items_game.txt
contributed-by
The person(s) who contributed the item to the game. Basic text parameter. Not displayed unless defined specifically. Categorizes the pages into Category:Community-contributed items.
released
When the item was released. Basic text parameter. Not displayed unless defined specifically. Please use {{Patch name}} instead of plain text.
released-major
The named patch the item was released in. Basic text parameter. Not displayed unless defined specifically. Check Template:Dictionary/common_strings#major_update_titles for a list of parameters.
availability
The means of obtaining the item. Basic text parameter. Not displayed unless defined specifically. Please use {{avail}} instead of plain text.
show-price
Used to disable the display of the price if in error. Prices themselves are stored inside {{Item price/core}}.
Example: off
trade[1] [yes, no]
If the item can obtained through Trading. Items are marked as tradable by default. Pages with trade set to no are categorized into Category:Untradeable items.
gift
Deprecated: Since the February 29, 2016 Patch, only tradable items can be wrapped using the Gift Wrap or Giftapult. The only tradable unwrappable items are the aforementioned tools and the Description Tag. The template handles everything automatically. Not displayed if item is untradable.
marketable[1] [yes, no]
If the item can be sold on the Steam Community Market.
craft[1] [yes, no]
If the item can be obtained through Crafting. Items are marked as craftable by default.
numbered[1] [yes, no]
If the item can have a Crafting number. Only displayed if type is set to cosmetic.
paint[1] [yes, no]
If the item can be used with the Paint Can. Only displayed if type is set to cosmetic. Cosmetics are marked as paintable by default.
rename[1] [yes, no]
If the item can be used with the Name Tag or Description Tag.
medieval[1] [yes, no]
If the item can be used in Medieval Mode. All melee weapons default to yes.
taunt-kill[1] [yes, no]
If the item can Taunt Kill. All weapons default to no.

Ammo parameters

These parameters are only available if type is set to weapon or taunt (see above).

ammo-loaded
The amount of ammo available in the clip (or magazine?). Basic text parameter. Hidden if set to "N/A" or "".
ammo-carried
The amount of additional ammo carried by the player. Basic text parameter. Hidden if set to "N/A" or "".
ammo-type
The ammo's type. Optional basic text parameter.
reload-type
The reloading type. Basic text parameter.
Common uses: Single, No Reload
show-ammo
Set to off to disable the display of ammunition stats. Some example uses would be the Razorback, Darwin's Danger Shield, or the Electro Sapper.

Loadout parameters

Main template: {{Backpack item}}
loadout
Set to yes to display loadout information as it is displayed in the backpack. Is not displayed by default.
quality[1] [normal, unique, community, unusual, self-made, valve]
Item quality. Defaults to "unique" yellow. (See Rarity#Colors and documentation of {{Backpack item}} for full list of parameters).
loadout-name
The name displayed. Defaults to either the page's name itself or the displayed name (set by name, see above). Use this parameter when the infobox name differs to the loadout name (for example, adding the rarity prefix on non-English pages):
Example: Необычный Призрачный металлолом (Unusual Haunted Metal Scrap)
loadout-prefix
English pages will have their loadout name preceded by "The" unless this parameter is set to "none". This will be overridden if 'loadout-name' above is defined.
custom-icon
Custom backpack icon for users' own purposes. Usage: entering usual file link without File: prefix.
level
The level and type of the item. Basic text parameter. Defaults to "Level 1-100".
att-n-positive
Positive attributes. Up to 6 basic text parameters.
att-n-negative
Negative attributes. Up to 6 basic text parameters.
att-n-neutral
Neutral attributes. Up to 6 basic text parameters. Use item-description for weapon or cosmetic descriptions instead.
item-description
The item's description. Basic text parameter. Displays the description with a smaller font size and lower line height so it fits neatly and stands out from the item's other attributes. Please use {{item description}} instead of plain text.
item-uses
The amount of uses the item has. Basic text parameter.
item-flags
The flags attached to the item. Basic text parameter.
prefix
suffix
Set to "none" to hide the "Vintage" or "Community", etc, prefix/suffix but keeping the colour. Can also use a custom value, e.g. "prefix/suffix = The Best" will generate "The Best Flare Gun" or "Flare Gun The Best".

Non-article maintenance parameters

These parameters should only be used in certain circumstances.

cat
Disables all automatic categorization (i.e. slot categorization, etc). Does not disable maintenance tracking categories.
override
Overrides Polycount Pack categorization. Will not be around for much longer.

Notes

  1. a b c d e f g h i j k l This parameter's value is used by the template internally and is not displayed; thus it should not be translated and should remain as-is in English.

See also