Difference between revisions of "User:Darkid/Sandbox2"

From Team Fortress Wiki
Jump to: navigation, search
 
(66 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | error | normal}} | normal}}
+
<includeonly>{{Complex template|user=Darkid}}</includeonly>
| error = <div style="font-size: 150%; color: red;">'''The <nowiki>{{item infobox}}</nowiki> template MUST NOT be used on User pages. Please use [[Template:User item infobox]] instead.'''</div>
+
This template is used to display item stats similar to how they appear in-game.
| normal | #default = <!--
 
  
--><div id="right-sidebar"><table class="infobox item-infobox cosmetic-{{#ifeq:{{lc:}}|tfc|tfc-}}infobox" style="width:300px; max-width:300px; {{lang incomplete|ar=float:left; margin: 0.5em 1 0.5em 0em;}}">
+
== Parameters ==
<tr>
+
{| class="wikitable grid"
  <th class="infobox-header" id="top-header" colspan="2" style="background:#F3A957;">{{if lang | non-en = {{item name|{{BASEPAGENAME}}}}| en = {{BASEPAGENAME}}}}</th>
+
! width="15%" class="header" | Parameter
  </tr><!--  
+
! width="35%" class="header" | Example
-->{{#if:
+
! class="header" | Description
| <tr>
+
|- <!-- This section is for parameters which effect the item name. -->
  <th class="infobox-header" colspan="2">[[Team Fortress 2 Beta{{if lang}}|{{Common string|Team Fortress 2 Beta}}]]
+
| {{code|item-name}}
  </th>
+
| {{code|Batter's Helmet}}
  </tr>
+
| Proper item name in English (e.g. {{xt|Batter's Helmet}} instead of {{!xt|Casque de Batteur}}). The item name will be automatically translated on language subpages.
}}<!--  
+
|-
 +
| {{code|custom-name}}
 +
| {{code|Spam Hammer}}
 +
| Adds a custom name with quotation marks. Still needs {{code|item-name}} to produce the correct image.
 +
|-
 +
| {{code|no-custom-name-quotes}}
 +
| {{code|yes}}
 +
| Removes quotation marks from custom names if the {{code|custom-name}} field is used.
 +
|-
 +
| {{code|custom-icon}}
 +
| {{code|File:User Username my item icon.png}}
 +
| Adds a custom icon for users' own purposes. This parameter is independent from {{code|item-name}} parameter.
 +
|-
 +
| {{code|quality}}
 +
| {{code|normal}}
 +
| Defaults to "{{code|unique}}" (the standard item yellow). See [[Item quality]] for a list of accepted values.
 +
|-
 +
| {{code|prefix}}
 +
| {{code|none}}<br />{{code|The Best}}
 +
| Set to "none" to hide the "Vintage" or "Community", etc, prefix but keeping the colour. Can also use a custom value, e.g. "{{code|1=prefix = The Best}}" will generate "The Best Flare Gun".
 +
|-
 +
| {{code|suffix}}
 +
| {{code|none}}<br />{{code|The Best}}
 +
| Same as 'prefix' for non-en pages. Can also use a custom value, e.g. "{{code|1=suffix = The Best}}" will generate "Flare Gun The Best".
 +
|-
 +
| {{code|filter}}
 +
| {{code|Coldfront}}
 +
| Adds the appropriate [[Strange Filter]] prefix / suffix to the weapon.
 +
|-
 +
| {{code|paint-color}}
 +
| {{code|Mann Co. Orange}}
 +
| Adds the colored paint 'splat' specified to the top right of the item icon.
 +
|-
 +
| {{code|unusual-effect}}
 +
| {{code|Bubbling}}
 +
| Adds the Particle Effect icon to the top right of the item's icon. Also adds the "Unusual Effect:" line.
 +
|-
 +
| {{code|strange-icon}}
 +
| {{code|yes}}
 +
| Adds the Strange/StatTrack icon to the top right of the item's icon.
 +
|-
 +
| {{code|decal-icon}}
 +
| {{code|yes}}
 +
| Adds this [[:File:Paint_Splat_Decal.png|icon]] to the top right of the item's icon. Only used on the [[Items]] page.
 +
|-
 +
! style="text-align:left;" class="header" colspan="3" | ''Attributes''
 +
|- <!-- This section is for parameters which modify the item description. -->
 +
| {{code|item-level}}
 +
| {{code|50}}
 +
| Item level. Defaults to "<span class="att_level">1-100</span>".
 +
|-
 +
| {{code|item-kind}}
 +
| {{code|Hat}}
 +
| Item kind. This string is not automatically translated.
 +
|-
 +
| {{code|no-level}}
 +
| {{code|yes}}
 +
| Optional attribute. If "yes", item level will not be displayed.
 +
|-
 +
| {{code|limited}}
 +
| {{code|yes}}
 +
| Optional attribute. If "yes", the item name will be colored yellow, the word "Limited" will be added with a link to [[Limited Quantity]].
 +
|-
 +
| {{code|grade}}
 +
| {{code|elite}}
 +
| Optional attribute. If specified, the item name will be colored correctly for the grade, and the name of the grade will be added before the name, e.g.: Elite Grade Rocket Launcher. Valid options are <code>Civilian, Freelance, Mercenary, Commando, Assassin, Elite</code>
 +
|-
 +
| {{code|wear}}
 +
| {{code|factory new}}
 +
| Optional attribute, for decorated weapons. Listed in parenthesis after the item name, e.g.: Rocket Launcher (Factory New). Valid options are <code>Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, Factory New.</code>
 +
|-
 +
| {{code|rankson}}
 +
| {{code|Kills}}
 +
| Primary stat method for a strange weapon.
 +
|-
 +
| {{code|killcount}}
 +
| {{code|7616}}
 +
| Number of kills for the primary rank method.
 +
|-
 +
| {{code|rankson2}}
 +
| {{code|Kill assists}} or {{code|Damage dealt}}
 +
| Secondary rank method '''or''' strange part. {{code|rankson3}} and {{code|rankson4}} work similarly.
 +
|-
 +
| {{code|killcount2}}
 +
| {{code|12}}
 +
| Number of kills for the secondary rank method '''or''' first strange part. {{code|killcount3}} and {{code|killcount4}} work similarly.
 +
|-
 +
|
 +
<code>att-n-neutral</code><br />
 +
<code>att-n-positive</code><br />
 +
<code>att-n-negative</code>
 +
|
 +
<code>att-1-neutral = Cloak Type: Feign Death</code><br />
 +
<code>att-2-positive = +80% cloak regen rate</code><br />
 +
<code>att-3-negative = +60% cloak drain rate</code><br />
 +
(See section on [[#Examples|examples]] below)
 +
| Displays up to 8 positive, negative and neutral values.
 +
|-
 +
| {{code|item-description}}
 +
| {{code|It doesn't matter how much people respect you when they're on fire.}}
 +
| For items that have an in-game description. This displays the description in a smaller font in order to distinguish from neutral attributes. Will not display if a {{code|custom-description}} is set.
 +
|-
 +
| {{code|custom-description}}
 +
| {{code|This hat is the greatest.}}
 +
| For items that have a custom in-game description (from a [[Description Tag]]). Displays like a normal description but has quotation marks surrounding it.
 +
|-
 +
| {{code|gift-from}}
 +
| {{code|Robin}}
 +
| Display the source of a gifted item. Displays the text "<span class="att_positive">Gift from: Robin</span>"
 +
|-
 +
| {{code|date-received}}
 +
| {{code|Mar 23, 2011 (06:30:00)}}
 +
| Display the date a gifted item was received. Will not appear if no {{code|gift-from}} is defined. Displays the text "<span class="att_neutral">Date Received: Mar 23, 2011 (06:30:00)</span>"
 +
|-
 +
| {{code|item-expiration}}
 +
| {{code|Dec 31, 2010 (23:00:00)}}
 +
| For items that expire. Displays the text "<span class="att_negative">This item will expire on Dec 31, 2010 (23:00:00).</span>".
 +
|-
 +
| {{code|item-uses}}
 +
| {{code|5}}
 +
| For items that have "uses". Displays the text "<span class="att_uses">This is a limited item. Uses: 5</span>".
 +
|-
 +
| {{code|item-flags}}
 +
| {{code|Not Tradable or Usable in Crafting}}
 +
| For item flags. Displays them inside brackets: "<span class="att_flags">( Not Tradable or Usable in Crafting )</span>".
 +
|-
 +
| {{code|festivized}}
 +
| {{code|yes}}
 +
| For items which have been Festivized. Displays the text "<span style="color:#8650AC">Festivized</span>".
 +
|-
 +
! style="text-align:left;" class="header" colspan="3" | ''Styling''
 +
|-
 +
| {{code|width}}
 +
| {{code|25%}}
 +
| Width parameter. Defaults to {{code|100%}} in infoboxes, but for other usages, can be any value (%, px, pt, em).
 +
|-
 +
| {{code|style}}
 +
|
 +
| Style parameter. Can add any valid CSS style to the main div.
 +
|-
 +
|}
  
// IMAGES
+
== Examples ==
 
+
{| class="wikitable grid"
-->{{#if:Ghastly Gibus.png
+
! class="header" width="40%" | Code
| <tr>
+
! class="header" width="30%" | Old Output
    <td colspan="2" style="padding:0em;"><!--
+
! class="header" width="30%" | New Output
    -->{{#if: |{{#invoke:3D viewer advanced|viewer_new}}|
+
|-
      {{#ifeq: {{lc:cosmetic}} | weapon
+
|<pre>
        | {{#if:
+
{{#invoke:Backpack item|backpack_item
          || {{#if:
+
| item-name = Cloak and Dagger
              | {{#if:
+
| item-level = 5
                  | {{#ifexist: File:{{BASEPAGENAME}}_RED_3D.jpg
+
| item-kind = Invis Watch
                      | {{3D Mixed Viewer
+
| att-1-neutral = Cloak Type: Feign Death
                          |number-of-3d-images=
+
| att-2-positive = +80% cloak regen rate
                          |number-of-3d-team-images=
+
| att-3-negative = +60% cloak drain rate
                          |number-of-3d-alt-images=
+
}}
                          |view1={{BASEPAGENAME}} RED 3D.jpg
+
</pre>
                          |view1name=
+
|{{Backpack item
                          |view2={{BASEPAGENAME}} BLU 3D.jpg
+
| item-name = Cloak and Dagger
                          |view2name=
+
| item-level = 5
                          |view3={{BASEPAGENAME}} RED Alt 3D.jpg
+
| item-kind = Invis Watch
                          |view3name=
+
| att-1-neutral = Cloak Type: Feign Death
                          |view4={{BASEPAGENAME}} BLU Alt 3D.jpg
+
| att-2-positive = +80% cloak regen rate
                          |view4name=
+
| att-3-negative = +60% cloak drain rate
                          |view5={{BASEPAGENAME}} Alt 3D.jpg
+
}}
                          |view5name=
+
|{{#invoke:Backpack item|backpack_item
                          |view6={{BASEPAGENAME}} Alt 2 3D.jpg
+
| item-name = Cloak and Dagger
                          |view6name=
+
| item-level = 5
                          |fallback=[[File:RED {{BASEPAGENAME}}.png|250px|center]]
+
| item-kind = Invis Watch
                        }}
+
| att-1-neutral = Cloak Type: Feign Death
                        {{2D viewer|RED {{BASEPAGENAME}}.png|250px}}
+
| att-2-positive = +80% cloak regen rate
                      | [[File:RED {{BASEPAGENAME}}.png|250px|center]]
+
| att-3-negative = +60% cloak drain rate
                    }}
+
}}
                  | {{#if: {{#ifexist:File:{{BASEPAGENAME}}_RED_3D.jpg|true}}
+
|-
                      | {{3D Team Viewer
+
|<pre>
                          |number-of-3d-images=
+
{{#invoke:Backpack item|backpack_item
                          |view1={{BASEPAGENAME}} RED 3D.jpg
+
| item-name = Rocket Launcher
                          |view1name=RED
+
| custom-name = Rawket Lawnchair
                          |view2={{BASEPAGENAME}} BLU 3D.jpg
+
| quality = vintage
                          |view2name=BLU
+
| item-level = 50
                          |view3={{BASEPAGENAME}} RED Alt 3D.jpg
+
| item-kind = Furniture
                          |view3name=
+
| att-1-positive = +20% additional comfort
                          |view4={{BASEPAGENAME}} BLU Alt 3D.jpg
+
| att-2-positive = +35% increase in lumbar support
                          |view4name=
+
| att-3-negative = +50% increase in financial hardship
                          |view5={{BASEPAGENAME}} RED Alt 2 3D.jpg
+
| custom-description = For those who favour comfort over fiscal stability.
                          |view5name=
+
}}
                          |view6={{BASEPAGENAME}} BLU Alt 2 3D.jpg
+
</pre>
                          |view6name=
+
|{{Backpack item
                          |fallback=[[File:RED {{BASEPAGENAME}}.png|250px|center]]
+
| item-name = Rocket Launcher
                        }}
+
| custom-name = Rawket Lawnchair
                        {{2D viewer|RED {{BASEPAGENAME}}.png|250px}}
+
| quality = vintage
                      | [[File:RED {{BASEPAGENAME}}.png|250px|center]]
+
| item-level = 50
                    }}
+
| item-kind = Furniture
                }}
+
| att-1-positive = +20% additional comfort
              | {{#if:
+
| att-2-positive = +35% increase in lumbar support
                  | {{#ifexist: File:{{BASEPAGENAME}}_3D.jpg
+
| att-3-negative = +50% increase in financial hardship
                      | {{3D Alt Viewer
+
| custom-description = For those who favour comfort over fiscal stability.
                          |number-of-3d-images=
+
}}
                          |view1={{BASEPAGENAME}} 3D.jpg
+
|{{#invoke:Backpack item|backpack_item
                          |view1name=
+
| item-name = Rocket Launcher
                          |view2={{BASEPAGENAME}} Alt 3D.jpg
+
| custom-name = Rawket Lawnchair
                          |view2name=
+
| quality = vintage
                          |view3={{BASEPAGENAME}} Alt 2 3D.jpg
+
| item-level = 50
                          |view3name=
+
| item-kind = Furniture
                          |view4={{BASEPAGENAME}} Alt 3 3D.jpg
+
| att-1-positive = +20% additional comfort
                          |view4name=
+
| att-2-positive = +35% increase in lumbar support
                          |fallback=[[File:Ghastly Gibus.png|250px|center]]
+
| att-3-negative = +50% increase in financial hardship
                        }}
+
| custom-description = For those who favour comfort over fiscal stability.
                        {{2D viewer|Ghastly Gibus.png|250px}}
+
}}
                      | [[File:Ghastly Gibus.png|250px|center]]
+
|-
                    }}
+
|<pre>
                  | {{#ifexist: File:{{BASEPAGENAME}}_Festive_RED_3D.jpg
+
{{#invoke:Backpack item|backpack_item
                      | {{3D Mixed Viewer
+
| item-name = Wiki Cap
                          |number-of-3d-images=3
+
| quality = community
                          |number-of-3d-team-images=2
+
| item-kind = Hat
                          |number-of-3d-alt-images=1
+
| item-level = 20
                          |3d-festive-alt = yes
+
| item-flags = Not Tradable or Usable in Crafting
                          |view1={{BASEPAGENAME}} 3D.jpg
+
| unusual-effect = Community Sparkle
                          |view1name=Normal
+
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
                          |view2={{BASEPAGENAME}} Festive RED 3D.jpg
+
}}
                          |view2name={{common string|Festive}} ({{common string|RED}})
+
</pre>
                          |view3={{BASEPAGENAME}} Festive BLU 3D.jpg
+
|{{Backpack item
                          |view3name={{common string|Festive}} ({{common string|BLU}})
+
| item-name = Wiki Cap
                          |fallback=[[File:Ghastly Gibus.png|250px|center]]
+
| quality = community
                        }}
+
| item-kind = Hat
                        {{2D viewer|Ghastly Gibus.png|250px}}
+
| item-level = 20
                      | {{#ifexist: File:{{BASEPAGENAME}}_3D.jpg
+
| item-flags = Not Tradable or Usable in Crafting
                          | {{3D viewer
+
| unusual-effect = Community Sparkle
                              |image-0={{BASEPAGENAME}} 3D.jpg
+
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
                              |fallback=[[File:Ghastly Gibus.png|250px|center]]
+
}}
                            }}
+
|{{#invoke:Backpack item|backpack_item
                            {{2D viewer|Ghastly Gibus.png|250px}}
+
| item-name = Wiki Cap
                          | [[File:Ghastly Gibus.png|250px|center]]
+
| quality = community
                        }}
+
| item-kind = Hat
                    }}
+
| item-level = 20
                }}
+
| item-flags = Not Tradable or Usable in Crafting
            }}<!-- End team-colors -->
+
| unusual-effect = Community Sparkle
          | [[File:Ghastly Gibus.png|250px|center]]}}<!-- End #if:game -->
+
| item-description = Given to valuable Community Contributors<br>Given to valuable contributors to the official TF2 Wiki<br><nowiki>http://wiki.teamfortress.com/</nowiki>
        | [[File:Ghastly Gibus.png|250px|center]]
+
}}
      }}
+
|-
    }}
+
|<pre>
    </td>
+
{{#invoke:Backpack item|backpack_item
  </tr>
+
| item-name = Tux
}}<!--
+
| limited = yes
 
+
| item-kind = Mascot
  // 'Buy Now' button
+
| item-level = 1-100
 
+
| item-description = Linux represent!
-->{{#switch:¬
+
}}
| ¬ = {{#ifexist:Template:Dictionary/price/{{lc:{{BASEPAGENAME}}}}
+
</pre>
  |<!--
+
|{{Backpack item
--><tr><td colspan="2" class="infobox-data" style="text-align:center">{{Buy now|{{lc:{{BASEPAGENAME}}}}}}</td></tr>
+
| item-name = Tux
  }}
+
| limited = yes
| #default = {{ns:0}}<!-- Avoid the #ifexist: above if the infobox says no -->
+
| item-kind = Mascot
}}<!--
+
| item-level = 1-100
 
+
| item-description = Linux represent!
  // End 'Buy Now' button
+
}}
  // Team-colored images
+
|{{#invoke:Backpack item|backpack_item
 
+
| item-name = Tux
-->{{#if:
+
| limited = yes
| {{#switch:{{lc:cosmetic}}<!--
+
| item-kind = Mascot
 
+
| item-level = 1-100
    // Grid
+
| item-description = Linux represent!
    // Uses a nested table due to issues with column widths present in the rest of the table.
+
}}
 
+
|-
    -->
+
|<pre>
  | cosmetic
+
{{#invoke:Backpack item|backpack_item
  | action taunt
+
| item-name = Citizen Pain
  | action | action item
+
| item-kind = Minigun
  | hat
+
| grade = Assassin
  | misc. item
+
| wear = Battle Scarred
  | misc item
+
}}
  | misc =  
+
</pre>
<tr>
+
|{{Backpack item
<td colspan="2" style="padding:none;">
+
| item-name = Citizen Pain
  <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| item-kind = Minigun
  <tr>
+
| grade = Assassin
  <td style="width:50%; background:#B8383B; text-align:center; border-right:1px solid #fff;"><!--  
+
| wear = Battle Scarred
    -->[[RED{{if lang}}|<span style="color:#fff;">{{Common string|RED}}</span>]]
+
}}
  </td>
+
|{{#invoke:Backpack item|backpack_item
  <td style="width:50%; background:#5885A2; text-align:center; border-left:1px solid #fff;"><!--
+
| item-name = Citizen Pain
    -->[[BLU{{if lang}}|<span style="color:#fff;">{{Common string|BLU}}</span>]]
+
| item-kind = Minigun
  </td>
+
| grade = Assassin
  </tr>{{#if:
+
| wear = Battle Scarred
  | <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;">'''{{#ifeq: {{{team-colors-class1}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class1}}}}}}}'''</td>
+
|<pre>
      </table>
+
{{#invoke:Backpack item|backpack_item
    </td>
+
| item-name = A Hat to Kill For
  <tr>
+
| item-kind = Hat
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class1}}}|other||_{{{team-colors-class1}}}}}.png|95x95px]]</td>
+
| grade = Civilian
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class1}}}|other||_{{{team-colors-class1}}}}}.png|95x95px]]</td>
+
}}
  </tr>{{#if:
+
</pre>
  | <td colspan="2" style="padding:none;">
+
|{{Backpack item
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| item-name = A Hat to Kill For
      <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>
+
| item-kind = Hat
      </table>
+
| grade = Civilian
    </td>
+
}}
    <tr>
+
|{{#invoke:Backpack item|backpack_item
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class2}}}|other||_{{{team-colors-class2}}}}}.png|95x95px]]</td>
+
| item-name = A Hat to Kill For
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class2}}}|other||_{{{team-colors-class2}}}}}.png|95x95px]]</td>
+
| item-kind = Hat
  </tr>{{#if:
+
| grade = Civilian
  | <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;">'''{{#ifeq: {{{team-colors-class3}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class3}}}}}}}'''</td>
+
|<pre>
      </table>
+
{{#invoke:Backpack item|backpack_item
    </td>
+
| item-name = Medigun
    <tr>
+
| item-kind = Medi Gun
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class3}}}|other||_{{{team-colors-class3}}}}}.png|95x95px]]</td>
+
| quality = Strange
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class3}}}|other||_{{{team-colors-class3}}}}}.png|95x95px]]</td>
+
| strange-icon = yes
  </tr>{{#if:  
+
| rankson = Ubers
  | <td colspan="2" style="padding:none;">
+
| killcount = 20
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| rankson2 = Kill assists
      <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>
+
| killcount2 = 300
      </table>
+
| rankson3 = Allied Healing Done
    </td>
+
| killcount3 = 10000
  <tr>
+
}}
    <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>
+
</pre>
    <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>
+
|{{Backpack item
  </tr>{{#if:  
+
| item-name = Medigun
  | <td colspan="2" style="padding:none;">
+
| item-kind = Medi Gun
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| quality = Strange
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class5}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class5}}}}}}}'''</td>
+
| strange-icon = yes
      </table>
+
| rankson = Ubers
    </td>
+
| killcount = 20
  <tr>
+
| rankson2 = Kill assists
    <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>
+
| killcount2 = 300
    <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>
+
| rankson3 = Allied Healing Done
  </tr>{{#if:
+
| killcount3 = 10000
  | <td colspan="2" style="padding:none;">
+
}}
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
|{{#invoke:Backpack item|backpack_item
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class6}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class6}}}}}}}'''</td>
+
| item-name = Medigun
      </table>
+
| item-kind = Medi Gun
    </td>
+
| quality = Strange
  <tr>
+
| strange-icon = yes
    <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>
+
| rankson = Ubers
    <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>
+
| killcount = 20
  </tr>{{#if:
+
| rankson2 = Kill assists
  | <td colspan="2" style="padding:none;">
+
| killcount2 = 300
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| rankson3 = Allied Healing Done
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class7}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class7}}}}}}}'''</td>
+
| killcount3 = 10000
      </table>
+
}}
    </td>
+
|-
  <tr>
+
|<pre>
    <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>
+
{{#invoke:Backpack item|backpack_item
    <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>
+
| item-name = Burstchester
  </tr>{{#if:
+
| item-kind = Special Taunt
  | <td colspan="2" style="padding:none;">
+
| rankson = Times Performed
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| quality = Strange Unusual
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class8}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class8}}}}}}}'''</td>
+
| unusual-effect = Mega Strike
      </table>
+
| grade = Assassin
    </td>
+
| prefix = Taunt:
  <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>
+
</pre>
    <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>
+
|{{Backpack item
  </tr>{{#if:
+
| item-name = Burstchester
  | <td colspan="2" style="padding:none;">
+
| item-kind = Special Taunt
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
+
| quality = Strange Unusual
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class9}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class9}}}}}}}'''</td>
+
| rankson = Times Performed
      </table>
+
| unusual-effect = Mega Strike
    </td>
+
| grade = Assassin
  <tr>
+
| prefix = Taunt:
    <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>
+
|{{#invoke:Backpack item|backpack_item
  </tr>}} }} }} }} }} }} }} }}
+
| item-name = Burstchester
  | <tr>
+
| item-kind = Special Taunt
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}.png|95x95px]]</td>
+
| quality = Strange Unusual
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}.png|95x95px]]</td>
+
| rankson = Times Performed
  </tr>}}
+
| unusual-effect = Mega Strike
  </table>
+
| grade = Assassin
</td>
+
| prefix = Taunt:
</tr><!-- 
+
}}
 
+
|-
    // Stacked landscape views (used only on non-TF2 weapons)
+
|<pre>
+
{{#invoke:Backpack item|backpack_item
-->
+
| item-name = Forest Fire
  | weapon = {{#switch:{{lc:}}
+
| item-kind = Flame Thrower
    | tfc
+
| quality = Strange
    | classic = <!--
+
| grade = Mercenary
 
+
| wear = Well-Worn
    // QTF & TFC landscape images.
+
| rankson = Kills
 
+
| killcount = 10
  --><tr>
+
}}
  <td colspan="2" style="width:100%; background:#C7A900; text-align:{{lang incomplete|ar = right|en = left}};"><!--
+
</pre>
    --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--
+
|{{Backpack item
    -->[[File:Classic Icon.png|20px|Team Fortress Classic|link=Team Fortress Classic{{if lang}}]]<!--
+
| item-name = Forest Fire
    -->&nbsp;[[Team Fortress Classic{{if lang}}|<span style="color:#fff;">{{Common string|Team Fortress Classic}}</span>]]<!--
+
| item-kind = Flame Thrower
    --></span>
+
| quality = Strange
    </td>
+
| grade = Mercenary
    </tr><tr>
+
| wear = Well-Worn
    <td colspan="2" style="margin:0em auto;"><!--
+
| rankson = Kills
    -->[[File:Screenshot needed.png|250px|center]]
+
| killcount = 10
    </td>
+
}}
    </tr><!--
+
|{{#invoke:Backpack item|backpack_item
 
+
| item-name = Forest Fire
    // TFC ends.
+
| item-kind = Flame Thrower
    // QTF begins.
+
| quality = Strange
 
+
| grade = Mercenary
--><tr><!--
+
| wear = Well-Worn
  --><td colspan="2" style="width:100%; background:#C77700; text-align:{{lang incomplete|ar = right|en = left}};"><!--
+
| rankson = Kills
    --><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--
+
| killcount = 10
    -->[[File:Quake Icon.png|22px|Team Fortress|link=Team Fortress{{if lang}}]]<!--
+
}}
    -->&nbsp;[[Team Fortress{{if lang}}|<span style="color:#fff;">{{Common string|Team Fortress}}</span>]]<!--
+
|-
    --></span>
+
|<pre>
    </td>
+
{{#invoke:Backpack item|backpack_item
    </tr><tr>
+
| item-name = Co-Pilot
    <td colspan="2" style="margin:0em auto;"><!--
+
| item-kind = Hat
    -->[[File:Screenshot needed.png|250px|center]]
+
| limited = yes
    </td>
+
| quality = Strange
    </tr>
+
| rankson = points scored
    }}<!-- End 'game' switch -->
+
| killcount = 75
  | #default = {{ns:0}}<!-- NULL -->
+
| description = Winter 2014 Limited Community Cosmetic
  }}
+
}}
}}<!--
+
</pre>
 
+
|{{Backpack item
// End team-colored images switch
+
| item-name = Co-Pilot
 
+
| item-kind = Hat
// Begin kill icons
+
| limited = yes
 
+
| quality = Strange
-->{{#if:
+
| rankson = points scored
| {{ns:0}}<!-- Ignore all of this if 'hide-kill-icon' is set to anything. -->
+
| killcount = 75
| {{#switch:{{lc:cosmetic}}
+
| description = Winter 2014 Limited Community Cosmetic
  | weapon | weapons | taunt | tauntkill | taunt-kill = {{#switch:{{Icon killicon|weapon={{lc:{{BASEPAGENAME}}}}}}
+
}}
  | none = {{ns:0}}<!-- If the killicon doesn't exist at the right spot (i.e. exact article title), hide it. -->
+
|{{#invoke:Backpack item|backpack_item
  | #default =
+
| item-name = Co-Pilot
<tr>
+
| item-kind = Hat
<th class="infobox-header" colspan="2">{{lang
+
| limited = yes
  | ar = كيل أيكون
+
| quality = Strange
  | cs = {{#if:|Ikony při zabití|Ikona při zabití}}
+
| rankson = points scored
  | da = {{#if:|Drabsikoner|Drabsikon}}
+
| killcount = 75
  | de = {{#if:|Tötungsbilder|Tötungsbild}}
+
| description = Winter 2014 Limited Community Cosmetic
  | es = {{#if:|Iconos de muerte|Icono de muerte}}
+
}}
  | en = {{#if:|Kill Icons|Kill Icon}}
+
|-
  | fi = {{#if:|Tappokuvakkeet|Tappokuvake}}
+
|<pre>
  | fr = {{#if:|Icônes de Frag|Icône de Frag}}
+
{{#invoke:Backpack item|backpack_item
  | hu = {{#if:|Ölési ikonok|Ölési ikon}}
+
| item-name = Sniper Rifle
  | it = {{#if:|Icone|Icona}} di Morte
+
| item-kind = Sniper Rifle
  | ja = {{#if:|キルアイコン|キルアイコン}}
+
| quality = Strange
  | ko = {{#if:|처치 표시|처치 표시}}
+
| strange-icon = yes
  | nl = {{#if:|Doodsicoons|Doodsicoon}}
+
| filter = yukon
  | no = {{#if:|Draps Ikons|Draps Ikon}}
+
| rankson = kills
  | pl = {{#if:|Ikony zabicia|Ikona zabicia}}
+
| killcount = 999
  | pt = {{#if:|Ícones|Ícone}} de Morte
+
}}
  | pt-br = {{#if:|Ícones|Ícone}} de morte
+
</pre>
  | ro = {{#if:|Pictograme|Pictogramă}}
+
|{{Backpack item
  | ru = {{#if:|Иконки убийств|Иконка убийства}}
+
| item-name = Sniper Rifle
  | sv = {{#if:|Dödsikoner|Dödsikon}}
+
| item-kind = Sniper Rifle
  | tr = {{#if:|Öldürme Simgeleri|Öldürme Simgesi}}
+
| quality = Strange
  | zh-hans = 杀敌图示
+
| strange-icon = yes
  | zh-hant = 殺人圖示
+
| filter = yukon
  }}
+
| rankson = kills
</th>
+
| killcount = 999
</tr><tr>
+
}}
<td colspan="2">{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}</td><!--
+
|{{#invoke:Backpack item|backpack_item
  --></tr>
+
| item-name = Sniper Rifle
  }}<!-- End of #ifeq 'none' from above.
+
| item-kind = Sniper Rifle
  -->{{#if:
+
| quality = Strange
  | <tr><td colspan="2">
+
| strange-icon = yes
 
+
| filter = yukon
{{#if:{{{kill-tooltip-2}}}|
+
| rankson = kills
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=|kill-tool=}}
+
| killcount = 999
|
+
}}
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}
+
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Max's Severed Head
 +
| item-kind = Hat
 +
| limited = yes
 +
| paint-color = Team Spirit
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Flare Gun
 +
| item-kind = Flare Gun
 +
| item-level = 10
 +
| item-description = This weapon will reload when not active
 +
| att-1-positive  = 100% critical hit vs burning players
 +
| killstreak = professional // Killstreaks Active + changes prefix to "Professional Killstreak"
 +
| killstreaker = Singularity // adds "Killstreaker: " line
 +
| sheen = Hot Rod
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| item-name = Flare Gun
 +
| item-kind = Flare Gun
 +
| item-level = 10
 +
| prefix = Professional Killstreak
 +
| item-description = This weapon will reload when not active
 +
| att-1-positive  = 100% critical hit vs burning players
 +
| att-2-positive  = Killstreaker: Singularity
 +
| att-3-positive  = Sheen: Hot Rod
 +
| att-4-positive  = Killstreaks Active
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Flare Gun
 +
| item-kind = Flare Gun
 +
| item-level = 10
 +
| prefix = Professional Killstreak
 +
| item-description = This weapon will reload when not active
 +
| att-1-positive  = 100% critical hit vs burning players
 +
| att-2-positive  = Killstreaker: Singularity
 +
| att-3-positive  = Sheen: Hot Rod
 +
| att-4-positive  = Killstreaks Active
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
</pre>
 +
|{{Backpack item
 +
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| quality = normal
 +
| item-name = Tomislav
 +
| item-kind = Tomislav
 +
| item-level = 1
 +
| festivized = yes
 +
}}
 +
|-
 +
|<pre>
 +
{{#invoke:Backpack item|backpack_item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 +
}}
 +
|{{#invoke:Backpack item|backpack_item
 +
| item-name = Jarate
 +
| item-level = 5
 +
| item-kind = Jar Based Karate
 +
| gift-from = Darkid
 +
| date-received = Wednesday, January 4, 2017
 
}}
 
}}
 
+
|-
</td></tr>
+
|<pre>
  }}
+
{{#invoke:Backpack item|backpack_item
 
+
| item-name = Name Tag
  {{#if:
+
| item-level = 1
  | <tr><td colspan="2">
+
| item-kind = Tool
{{#if:{{{kill-tooltip-3}}}|
+
| att-1-neutral = Changes the name of an item in your backpack
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=|kill-tool=}}
+
| item-uses = 1
|
+
| item-flags = Not Tradable or Marketable
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}
+
}}</pre>
 +
|{{Backpack item
 +
| item-name = Name Tag
 +
| item-level = 1
 +
| item-kind = Tool
 +
| att-1-neutral = Changes the name of an item in your backpack
 +
| item-uses = 1
 +
| item-flags = Not Tradable or Marketable
 
}}
 
}}
 
+
|{{#invoke:Backpack item|backpack_item
</td></tr>
+
| item-name = Name Tag
  }}{{#if:
+
| item-level = 1
  | <tr><td colspan="2">
+
| item-kind = Tool
{{#if:{{{kill-tooltip-4}}}|
+
| att-1-neutral = Changes the name of an item in your backpack
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=|kill-tool=}}
+
| item-uses = 1
|
+
| item-flags = Not Tradable or Marketable
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}
 
 
}}
 
}}
 
+
|-
</td></tr>
+
|<pre>
  }}{{#if:
+
{{#invoke:Backpack item|backpack_item
  | <tr><td colspan="2">
+
| item-name = Heavy Costume Transmogrifier
{{#if:{{{kill-tooltip-5}}}|
+
| custom-icon = Backpack Costume Transmogrifier Heavy.png
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=|kill-tool=}}
+
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
|
+
| item-level = 1
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}
+
| item-kind = Tool
 +
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 +
}}</pre>
 +
|{{Backpack item
 +
| item-name = Heavy Costume Transmogrifier
 +
| custom-icon = Backpack Costume Transmogrifier Heavy.png
 +
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
 +
| item-level = 1
 +
| item-kind = Tool
 +
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 
}}
 
}}
</td></tr>
+
|{{#invoke:Backpack item|backpack_item
  }}{{#if:
+
| item-name = Heavy Costume Transmogrifier
  | <tr><td colspan="2">
+
| custom-icon = Backpack Costume Transmogrifier Heavy.png
{{#if:{{{kill-tooltip-6}}}|
+
| item-description = Using this transmogrifier on any Halloween 2013 costume piece will replace it with a costume piece wearable by Heavies.
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=|kill-tool=}}
+
| item-level = 1
|
+
| item-kind = Tool
{{kill notice|weapon={{lc:{{BASEPAGENAME}}}}|kill-text=}}
+
| item-expiration = Monday, November 11, 2013 (6:00:00)
 +
| item-uses = 1
 
}}
 
}}
</td></tr>
+
|-
  }}
+
|<pre>
  | #default = {{ns:0}}<!-- Limit killicon section to weapons & taunts only (excluding action taunts). -->
+
{{#invoke:Backpack item|backpack_item
  }}
+
| item-name = Shotgun
}}<!--  
+
| quality = Strange
+
| festivized = yes
// Basic Information
+
| killstreak = professional
 
+
| filter = yukon
--><tr>
+
}}</pre>
<th class="infobox-header" colspan="2">{{lang
+
|{{Backpack item
  | ar = معلومات أساسية
+
| item-name = Shotgun
  | cs = Základní informace
+
| quality = Strange
  | da = Information
+
| festivized = yes
  | de = Informationen
+
| killstreak = professional
  | en = Basic Information
+
| filter = yukon
  | es = Información básica
 
  | fi = Perustiedot
 
  | fr = Informations de base
 
  | hu = Alapvető információk
 
  | it = Informazioni di Base
 
  | ja = インフォメーション
 
  | ko = 기본 정보
 
  | nl = Basisinformatie
 
  | no = Grunnleggende informasjon
 
  | pl = Podstawowe informacje
 
  | pt = Informações Básicas
 
  | pt-br = Informações básicas
 
  | ro = Informaţii de bază
 
  | ru = Информация
 
  | sv = Grundläggande Information
 
  | tr = Temel Bilgiler
 
  | zh-hans = 基本信息
 
  | zh-hant = 資訊
 
  }}
 
</th>
 
</tr><!--
 
 
 
  // 'used-by'
 
-->{{#switch:{{lc:cosmetic}}
 
| tool | tools = {{ns:0}}<!-- NULL: don't have 'used-by' on tools. -->
 
| #default =
 
<tr>
 
<td class="infobox-label">{{#switch:{{lc:cosmetic}}
 
  | weapons | weapon | taunt | tauntkill | taunt-kill | #default = {{Common string|Used by}}:
 
  | cosmetic
 
  | hats | head | headwear | hat
 
  | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item = {{lang
 
  | ar = يلبسها:
 
  | cs = Používá:
 
  | da = Båret af:
 
  | de = Getragen von:
 
  | en = Worn by:
 
  | es = Usado por:
 
  | fr = Porté par :
 
  | fi = Käyttäjät:
 
  | hu = Viselheti:
 
  | it = Indossato da:
 
  | ja = 装備:
 
  | ko = 착용자
 
  | nl = Gedragen door:
 
  | no = Båret av:
 
  | pl = Klasa:
 
  | pt = Usado por:
 
  | pt-br = Usado por:
 
  | ro = Purtată de:
 
  | ru = Используется:
 
  | sv = Buren av:
 
  | tr = Kullanan sınıf:
 
  | zh-hans = 可装备的兵种:
 
  | zh-hant = 裝備:
 
  }}
 
  }}</td><td>[[Classes|All classes]]</td>
 
  </tr>
 
}}<!--
 
 
 
  // 'slot'
 
  // For most weapons, the parameter will be defined as simply 'slot 1' or 'secondary'. Pages that do use these values
 
  // will also be categorized accordingly. Other pages that have complicated slots or slot confusion will be excluded
 
  // from categorization (and will need to be manually added to the category).
 
 
 
-->{{#switch:{{lc:cosmetic}}
 
| tool | tools = {{ns:0}}
 
| #default = <tr>
 
  <td class="infobox-label">{{lang
 
  | ar = وضع
 
  | cs = Slot:
 
  | da = Position:
 
  | de = Position:
 
  | en = Slot:
 
  | es = Espacio:
 
  | fr = Emplacement :
 
  | fi = Paikka:
 
  | hu = Hely:
 
  | it = Slot:
 
  | ja = スロット:
 
  | ko = 칸
 
  | nl = Positie:
 
  | no = Spalte:
 
  | pl = Slot:
 
  | pt = Compartimento:
 
  | pt-br = Compartimento:
 
  | ro = Slot:
 
  | ru = Слот:
 
  | sv = Position:
 
  | tr = Yuva:
 
  | zh-hans = 位置:
 
  | zh-hant = 類型:
 
  }}</td>
 
  <td class="infobox-data">{{#switch:{{lc:cosmetic}}
 
  | bundle = {{Common string|Bundle}}
 
  | taunt | weapon = {{#if:|<!--If we have a custom slot, or are in a custom game (TFC/QTF/TF) use whatever it is. Otherwise...-->
 
    |{{#ifexpr:{{#if:|1|0}} and not {{#if:|1|0}}|{{Common string|Unknown}}|<!-- If the weapon is unused or a beta weapon and the slot is not specified, list the slot as unknown. Otherwise...
 
-->{{#ifeq:{{lc:}}|grenade| <!-- Handling the grenade slot separately because it needs to link differently. -->
 
      [[Unused content{{if lang}}#{{lang <!-- Section links -->
 
        | en = Grenades
 
        | ar = قنابل
 
        | cs = Granáty
 
        | de = Granaten
 
        | es = Granadas
 
        | fr = Grenades
 
        | hu = Gránátok
 
        | ja = グレネード
 
        | ko = 유탄
 
        | pl = Granaty
 
        | pt-br = Granadas
 
        | ru = Гранаты
 
        | sv = Granater
 
        | tr = Bombalar
 
        | zh-hans = 手雷/榴弹
 
        | zh-hant = 手榴彈
 
        | #default = <!-- No section link -->
 
      }}{{!}}{{Item name|Grenade}}]]|[[Weapons{{#if:|&nbsp;(Classic)}}{{if lang}}|{{#switch:{{lc:}}<!-- Add a link to the weapons page and the name of the slot. -->
 
    | slot1 | slot 1 | 1 | primary = {{Item name|Primary}}
 
    | slot2 | slot 2 | 2 | secondary = {{Item name|Secondary}}
 
    | slot3 | slot 3 | 3 | melee = {{Item name|Melee}}
 
    | pda1 | pda 1 | disguise kit = {{Item name|PDA1}}
 
    | pda2 | pda 2 | watch | cloak = {{Item name|PDA2}}
 
    | building | sapper = {{Item name|Building}}
 
    | #default = [[Category:Item infobox ERROR]]
 
  }}]]}}
 
  }}{{#ifeq:cosmetic|taunt|&nbsp; ({{Item link|Taunt}})}}}}
 
  | cosmetic
 
  | hat | hats | head | headwear
 
  | misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item = [[Cosmetic items{{if lang}}|{{Item name|Cosmetic}}]]
 
  | action | action item | action taunt = [[Action items{{if lang}}|{{Item name|Action}}]]
 
  | #default = {{ucfirst:cosmetic}}<!-- If all else fails, just display 'slot'. -->
 
}}
 
</td>
 
</tr>
 
}}{{#switch:{{lc:cosmetic}}
 
  | cosmetic
 
  | hats | head | headwear | hat
 
  | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
 
  | weapon | weapons | action | action item = {{#switch: {{#switch:{{lc:cosmetic}}
 
    | weapon | weapons | action | action item = {{#if:head|show-region|hide-region}}
 
    | #default = show-region
 
    }}
 
  | show-region = <tr><!--
 
 
 
  // 'equip-region'
 
 
 
--><td class="infobox-label">{{Item link|Equip region}}:</td><td class="infobox-data">{{Item name
 
  | er {{#switch:{{lc:cosmetic}}
 
  | cosmetic
 
  | hats | head | headwear | hat
 
  | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item = {{lc:head}}
 
  | #default = {{lc:head}}<!--
 
  -->}}<!--
 
    -->}}<!--
 
    -->{{#if:
 
    |, {{Item name| er {{lc:  }} }}<!--
 
    -->{{#if:
 
      |, {{Item name| er {{lc:  }} }}<!--
 
      -->{{#if:
 
      |, {{Item name| er {{lc:  }} }}<!--
 
        -->{{#if:
 
        |, {{Item name| er {{lc:  }} }}<!--
 
      -->}}<!--
 
    -->}}<!--
 
    -->}}<!--
 
  -->}}</td></tr>
 
  }}<!-- #switch: -->
 
}}{{#if:
 
| <tr><!--
 
 
 
  // 'contributed-by' (optional)
 
 
 
--><td class="infobox-label">{{lang
 
  | ar = ساهم بها:
 
  | cs = Přispěl:
 
  | da = Bidraget af:
 
  | de = Eingesendet von:
 
  | en = Contributed by:
 
  | es = Creado por:
 
  | fi = Tekijä(t):
 
  | fr = Contribution de :
 
  | hu = Készítette:
 
  | it = Forgiato da:
 
  | ja = 作者:
 
  | ko = 기여자:
 
  | nl = Gemaakt door:
 
  | no = Bidratt av:
 
  | pl = Autorzy:
 
  | pt = Criado por:
 
  | pt-br = Criado por:
 
  | ro = Autor:
 
  | ru = Создатель(и):
 
  | sv = Skapad av:
 
  | tr = Yapımcı:
 
  | zh-hans = 贡献者:
 
  | zh-hant = 投稿作者:
 
  }}</td><!--
 
  --><td class="infobox-data">{{{contributed-by}}}</td><!--
 
  -->{{#if:<!-- # CATEGORY INLINE HOOK -->
 
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
    | {{lang cat|Community-contributed items|sort={{ucfirst:cosmetic}}&#32;{{BASEPAGENAME}}}}
 
    }}
 
  </tr>
 
}}{{#if:{{Patch name|10|29|2009}}<br />([[Haunted Hallowe'en Special]])
 
| <tr><!--
 
 
 
  // 'released' (optional)
 
 
 
--><td class="infobox-label">{{lang
 
  | ar = أصدرت
 
  | cs = Vydáno v:
 
  | da = Udgivet:
 
  | de = Erschienen:
 
  | en = Released:
 
  | es = Lanzamiento:
 
  | fi = Julkaistu:
 
  | fr = Date d'ajout :
 
  | hu = Kiadták:
 
  | it = Rilasciato:
 
  | ja = 実装日:
 
  | ko = 공개일
 
  | nl = Uitgebracht:
 
  | no = Utgitt:
 
  | pl = Dodano:
 
  | pt = Lançado em:
 
  | pt-br = Publicado em:
 
  | ro = Lansat:
 
  | ru = Выпущено:
 
  | sv = Släppt:
 
  | tr = Yayımlanma:
 
  | zh-hans = 发布时间:
 
  | zh-hant = 釋出時間:
 
  }}</td><!--
 
  --><td class="infobox-data">{{Patch name|10|29|2009}}<br />([[Haunted Hallowe'en Special]])</td>
 
  </tr>
 
}}<!--
 
 
 
  // Hide the following on TFC pages, pages marked as 'unused', 'beta' and taunt pages:
 
  // 'availability', 'price', 'trade', 'gift', 'craft', 'paint', 'rename', 'medieval':
 
 
 
  -->{{#if:
 
| {{ns:0}}<!-- Hide because unused is defined. -->
 
| {{#switch:{{lc:}}
 
  | tfc = {{ns:0}}
 
  | #default = {{#switch:{{lc:cosmetic}}
 
  | taunt | tauntkill | taunt-kill = {{ns:0}}
 
  | #default = <!--
 
 
 
--><tr><!--
 
 
 
  // 'availability' (optional)
 
--><td class="infobox-label">{{common string|availability}}:</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:cosmetic}}
 
| cosmetic
 
| hat | hats | head | headwear
 
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
 
| #default = {{#if:Limited|Limited|{{common string|drop}}
 
  }}
 
}}
 
  </td>
 
  </tr>{{#ifeq:{{lc:}} | normal
 
| {{ns:0}}<!--
 
    // Little workaround to hide 'Tradable?' and 'Giftable?' on stock item pages because
 
    // they aren't tradable/giftable unless they are renamed.
 
    -->
 
| {{#ifeq:{{lc:cosmetic}}|taunt|{{ns:0}}<!-- NULL: can't trade taunts -->
 
  | <tr><!--
 
 
 
  // 'trade'
 
 
 
--><td class="infobox-label">[[Trading{{if lang}}|{{lang
 
  | ar = {{tooltip|يمكن تبادلها|إذا كان يمكن تبادل الأيتم.}}:
 
  | cs = {{tooltip|Obchodování|Možnost výměny s jiným hráčem.}}:
 
  | da = {{tooltip|Kan byttes|Om tingen kan byttes i handel.}}:
 
  | de = {{tooltip|Tauschbar|Ob es möglich ist den Gegenstand zu tauschen.}}:
 
  | en = {{tooltip|Tradable|If the item is usable in Trading.}}:
 
  | es = {{tooltip|Intercambiable|Si el objeto puede ser intercambiado.}}:
 
  | fi = {{tooltip|Vaihdettava|Voiko esineen vaihtaa?}}:
 
  | fr = {{tooltip|Échangeable|S'il est possible d'échanger cet objet.}} :
 
  | hu = {{tooltip|Cserélhető|Ha a tárgy elcserélhető más játékossal.}}:
 
  | it = {{tooltip|Scambiabile|Se l'oggetto può essere utilizzato nello Scambio.}}:
 
  | ja = {{tooltip|トレード|トレードできるかどうか}}:
 
  | ko = {{tooltip|교환 여부|아이템이 교환 가능한 경우}}
 
  | nl = {{tooltip|Ruilbaar|Of je het voorwerp kan ruilen.}}:
 
  | no = {{tooltip|Byttbar|Om gjenstanden kan brukes i bytting.}}:
 
  | pl = {{tooltip|Wymiana|Czy przedmiot jest wymienialny?}}:
 
  | pt = {{tooltip|Trocável|Se este item pode ser trocado.}}:
 
  | pt-br = {{tooltip|Trocável|Se este item pode ser trocado.}}:
 
  | ru = {{tooltip|Обмен|Предмет можно использовать при обмене.}}:
 
  | sv = {{tooltip|Kan bytas|Om objektet kan bytas med en annan spelare.}}:
 
  | tr = {{tooltip|Takas edilebilir|Eşyanın takasta kullanılıp kullanılamayacağı.}}:
 
  | zh-hans = {{tooltip|可交易|如果该物品能用于交易。}}:
 
  | zh-hant = {{tooltip|交換|該項目是否能用於交易。}}:
 
  }}]]</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:no}}
 
| ¬
 
| yes = {{common string|yes}}
 
| no  = {{common string|no}}{{#if:<!-- # CATEGORY INLINE HOOK -->
 
  | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
  | {{lang cat|Untradeable items}}
 
  }}
 
| #default = no
 
}}</td>
 
  </tr>
 
}}{{#ifeq:{{lc:cosmetic}}|taunt|{{ns:0}}<!-- NULL: can't gift taunts either -->
 
| <tr><!--
 
 
 
  // 'gift'
 
 
 
--><td class="infobox-label">[[Gift Wrap{{if lang}}|{{lang
 
  | ar = {{tooltip|يمكن إهدائه|إذا كان بإلمكان تغليف الأتيم.}}:
 
  | cs = {{tooltip|Darování|Možnost zabalení pomocí Gift Wrapu.}}:
 
  | da = {{tooltip|Kan gives som gave|Om tingen kan blive pakket ind ved brug af gavepapir.}}:
 
  | de = {{tooltip|Verschenkbar|Ob der Gegenstand mit dem Geschenkpapiers verschenkt werden kann.}}:
 
  | en = {{tooltip|Giftable|If the item can be wrapped using the Gift Wrap.}}:
 
  | es = {{tooltip|Regalado|Si el objeto puede ser regalado usando el Papel de Regalo.}}:
 
  | fi = {{tooltip|Lahjoitettava|Voiko esineen kääriä lahjapaperilla?}}:
 
  | fr = {{tooltip|Emballable|Si cet objet peut être emballé en utilisant du Papier Cadeau.}} :
 
  | hu = {{tooltip|Ajándékozható|Ha a tárgy a Csomagolópapír segítségével ajándékozható.}}:
 
  | it = {{tooltip|Regalabile|Se l'oggetto può essere incartato con la Confezione Regalo.}}:
 
  | ja = {{tooltip|ギフト|{{Item name|Gift Wrap}}を使うことができるかどうか}}:
 
  | ko = {{tooltip|선물 여부|선물 포장이 가능한 경우}}
 
  | nl = {{tooltip|Schenkbaar|Of je het voorwerp kunt inpakken met Cadeaupapier.}}:
 
  | no = {{tooltip|Pakkbar|Om gjenstanden kan bli pakket in med gavepapir.}}:
 
  | pl = {{tooltip|Prezent|Czy przedmiot może zostać spakowany jako prezent?}}:
 
  | 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.}}:
 
  | ro = {{tooltip|Împachetabil|Acest produs se poate împacheta.}}:
 
  | ru = {{tooltip|Упаковка|Предмет может быть завернут в подарочную упаковку.}}:
 
  | sv = {{tooltip|Kan ges bort|Om objektet slås in med hjälp av Presentpapper och skänkas bort.}}:
 
  | tr = {{tooltip|Hediye edilebilir|Eşyanın Hediye Paketi ile kullanılıp kullanılamayacağı.}}:
 
  | zh-hans = {{tooltip|礼物包装|该物品是否能够使用礼物包装来包装。}}:
 
  | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
  }}]]</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:no}}
 
| ¬
 
| yes = {{common string|yes}}
 
| no  = {{common string|no}}
 
| #default = no
 
}}</td></tr>}}<!--
 
 
 
  // 'craft'
 
 
 
-->{{#switch:{{lc:cosmetic}}
 
| taunt = {{ns:0}}<!-- NULL: can't craft these -->
 
| #default = {{#if:
 
  | <tr>
 
    <td class="infobox-label">[[Crafting{{if lang}}|{{lang
 
  | ar = {{tooltip|يمكن كرافته|إذا كان الأتيم يمكن عمل كرافتينج له.}}:
 
  | cs = {{tooltip|Craftování|Možnost použít předmět při Craftování.}}:
 
  | da = {{tooltip|Kan smedes|Om tingen kan bruges i smedning.}}:
 
  | de = {{tooltip|Schmiedbar|Ob der Gegenstand zum Schmieden verwendet werden kann.}}:
 
  | en = {{tooltip|Craftable|If the item is usable in Crafting.}}:
 
  | es = {{tooltip|Fabricable|Si el objeto se puede usar en la fabricación de objetos.}}:
 
  | fi = {{tooltip|Luotava|Voiko esinettä käyttää luomisessa?}}:
 
  | fr = {{tooltip|Craftable|Si cet objet est utilisable pour la Fabrication.}} :
 
  | hu = {{tooltip|Barkácsolható|Ha a tárgy használható a Barkácsoló rendszerben.}}:
 
  | it = {{tooltip|Forgiabile|Se l'oggetto è utilizzabile nella Forgiatura.}}:
 
  | ja = {{tooltip|作成|アイテム作成で使うことができるかどうか}}:
 
  | ko = {{tooltip|제작 여부|아이템이 제작 가능한 경우}}
 
  | nl = {{tooltip|Ontwerpbaar|Of je het voorwerp kunt ontwerpen.}}:
 
  | no = {{tooltip|Konstruerbar|Om gjenstanden kan brukes i konstruering.}}:
 
  | pl = {{tooltip|Wytwarzanie|Czy przedmiot można używać w wytwarzaniu?}}:
 
  | pt = {{tooltip|Fabricável|Se este item pode ser utilizado para fabricar.}}:
 
  | pt-br = {{tooltip|Fabricável|Se este item pode ser usado na Fabricação.}}:
 
  | ru = {{tooltip|Ковка|Предмет может быть использован при ковке.}}:
 
  | sv = {{tooltip|Tillverkbar|Om objektet kan användas i Tillverkning.}}:
 
  | tr = {{tooltip|İşlenebilir|Eşyanın işlemede kullanılıp kullanılamayacağı}}:
 
  | zh-hans = {{tooltip|可合成|该物品是否能够参与合成。}}:
 
  | zh-hant = {{tooltip|合成|該項目是否能夠進行合成。}}:
 
  }}]]</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:¬}}
 
  | ¬
 
  | yes = {{common string|yes}}
 
  | no  = {{common string|no}}
 
  | #default =
 
  }}</td>
 
  </tr>
 
  }}
 
}}{{#switch:{{lc:cosmetic}}
 
| cosmetic
 
| hat | hats | head | headwear
 
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item  = <tr><!--
 
 
 
    // 'paint'
 
  --><td class="infobox-label">[[Paint Can{{if lang}}|{{lang
 
  | ar = {{tooltip|يمكن طليه|إذا كان الأيتم يمكن طلائه.}}:
 
  | cs = {{tooltip|Nabarvení|Možnost zbarvit pomocí Paint Can.}}:
 
  | da = {{tooltip|Males|Om tingen kan males ved brug af malingsdåser.}}:
 
  | de = {{tooltip|Einfärbbar|Ob der Gegenstand mit einer Farbdose eingefärbt weden kann.}}:
 
  | en = {{tooltip|Paintable|If the item can be painted using the Paint Can.}}:
 
  | es = {{tooltip|Coloreable|Si el objeto puede pintarse con el bote de pintura.}}:
 
  | fi = {{tooltip|Maalattava|Voiko esineen väriä vaihtaa maalipurkilla?}}:
 
  | fr = {{tooltip|Peignable|S'il est possible de peindre cet objet avec un Bidon de Peinture.}} :
 
  | hu = {{tooltip|Festhető|Ha a tárgy befesthető Festék segítségével.}}:
 
  | it = {{tooltip|Verniciabile|Se l'oggetto può essere verniciato con la Latta di Vernice.}}:
 
  | ja = {{tooltip|ペイント缶|ペイント缶を使ってアイテムの色を変更できるかどうか}}:
 
  | ko = {{tooltip|색칠 여부|아이템에 페인트 사용이 가능한 경우}}
 
  | nl = {{tooltip|Verfbaar|Of je het voorwerp kunt verven met het Verfblik.}}:
 
  | no = {{tooltip|Malbar|Om gjenstanden kan bli malt med et malingsspann.}}:
 
  | 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-br = {{tooltip|Pintável|Se este item pode ser pintado usando uma Lata de tinta.}}:
 
  | ru = {{tooltip|Покраска|Предмет может быть покрашен.}}:
 
  | sv = {{tooltip|Kan målas|Om objektet kan målas med hjälp av en Färgburk.}}:
 
  | tr = {{tooltip|Boyanabilir|Eşyanın Boya Kutusu ile boyanıp boyanamayacağı.}}:
 
  | zh-hans = {{tooltip|可喷漆|该物品是否能够使用油漆桶喷漆。}}:
 
  | zh-hant = {{tooltip|可塗色|該項目是否能夠使用油漆桶上色。}}:
 
  }}]]</td><!--
 
    --><td class="infobox-data"><!--
 
    -->{{#switch:<!--
 
 
 
      -->{{#if:yes
 
        | {{lc:yes}}
 
        | {{#switch:{{lc:cosmetic}}
 
          | cosmetic
 
          | misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
 
          | hat | hats | head | headwear | #default = ¬
 
          }}
 
        }}
 
  | ¬
 
  | yes = {{common string|yes}}{{#if:<!-- # CATEGORY INLINE HOOK -->
 
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
    | {{lang cat|Paintable items}}
 
    }}
 
  | no  = {{common string|no}}{{#if:<!-- # CATEGORY INLINE HOOK -->
 
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
    | {{#switch:{{lc:cosmetic}}
 
    | cosmetic
 
    | misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
 
    | hat | hats | head | headwear = {{lang cat|Unpaintable items}}
 
    | #default = {{ns:0}}
 
    }}
 
    }}
 
  | #default = yes
 
  }}</td>
 
  </tr>
 
  | #default = {{ns:0}}<!-- NULL: paint only for hats for now. -->
 
  }}
 
}}<!-- <<< This closes the #ifeq 'quality' from above.
 
 
 
  // 'rename'
 
 
 
-->{{#switch:{{lc:cosmetic}}
 
| cosmetic
 
| hat | hats | head | headwear
 
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
 
| action item | action | action taunt
 
| weapon | weapons =
 
<tr>
 
<td class="infobox-label">[[Name Tag{{if lang}}|{{lang
 
  | ar = {{tooltip|يمكن تسميته|إذا كان هناك إمكانية في تسمية الأيتم.}}:
 
  | cs = {{tooltip|Pojmenování|Možnost změny názvu pomocí Name Tagu.}}:
 
  | da = {{tooltip|Navngives|Om tingen kan navngives ved brug af et navneskilt.}}:
 
  | de = {{tooltip|Umbenennbar|Ob der Gegenstand mit einem Namensschild umbenannt werden kann.}}:
 
  | en = {{tooltip|Nameable|If the item can be renamed using the Name Tag.}}:
 
  | es = {{tooltip|Renombrable|Si el objeto se puede renombrar usando la "Etiqueta de Nombre".}}:
 
  | fi = {{tooltip|Nimettävä|Voiko esineen nimen vaihtaa nimitunnisteella?}}:
 
  | fr = {{tooltip|Renommable|Si cet objet peut être renommé en utilisant une Étiquette.}} :
 
  | hu = {{tooltip|Elnevezhető|Ha a tárgy elnevezhető a Névcédula használatával.}}:
 
  | it = {{tooltip|Rinominabile|Se l'oggetto può essere rinominato con l'Etichetta Nome.}}:
 
  | ja = {{tooltip|{{Item name|Name Tag}}|{{Item name|Name Tag}}を使ってアイテムの名前を変更できるかどうか}}:
 
  | ko = {{tooltip|작명 여부|아이템에 이름표 사용이 가능한 경우}}
 
  | 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.}}:
 
  | pl = {{tooltip|Nazywanie|Czy przedmiot może mieć zmienioną nazwę?}}:
 
  | 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.}}:
 
  | ru = {{tooltip|Переименование|Предмет может быть переименован.}}:
 
  | sv = {{tooltip|Namnbyte|Om objektet kan döpas om med en Namnlapp.}}:
 
  | tr = {{tooltip|İsimlendirilebilir|Eşyaya İsim Etiketi kullanılarak yeni isim verilip verilemeyeceği.}}:
 
  | zh-hans = {{tooltip|可命名|该物品是否能够使用名称标签命名。}}:
 
  | zh-hant = {{tooltip|改名稱|該項目是否能夠使用命名標籤改名稱。}}:
 
  }}]]</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:yes}}
 
| ¬
 
| yes = {{common string|yes}}
 
| no  = {{common string|no}}
 
| #default = yes
 
}}</td>
 
</tr>
 
}}<!--
 
 
 
  // 'numbered'
 
 
 
-->{{#if:no
 
| {{#switch:{{lc:cosmetic}}
 
| cosmetic
 
| action taunt
 
| hat | hats | head | headwear
 
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
 
| weapon | weapons = <tr>
 
<td class="infobox-label">[[Crafting Numbers{{if lang}}|{{lang
 
  | en = {{tooltip|Craft No.?|If the item can have a Crafting number.}}:
 
  | da = {{tooltip|Smedenummer?|Om genstanden kan have et smedenummer.}}:
 
  | de = {{tooltip|Herstellungs-Nr.?|Ob der Gegenstand eine Herstellungs-Nummer haben kann.}}:
 
  | fi = {{tooltip|Luomisnro?|Voiko esine saada luomisnumeron?}}:
 
  | fr = {{tooltip|N<sup>o</sup> de Fabrication?|Si l'objet peut avoir un numéro de Fabrication.}} :
 
  | hu = {{tooltip|x. számú|Ha a tárgynak van barkácsolási száma.}}:
 
  | it = {{tooltip|Numerazione|Se l'oggetto può avere un numero di Forgiatura.}}:
 
  | ja = {{tooltip|クラフトNo.|アイテム作成時に通し番号が記録されるかどうか}}:
 
  | ko = {{tooltip|제작 번호|아이템이 제작 번호를 지닌 경우}}:
 
  | nl = {{tooltip|Ontwerpnummer|Of het voorwerp een Ontwerpnummer kan hebben.}}:
 
  | no = {{tooltip|Konstruerings Nr.?|Om gjenstanden har et Konstruerings nummer.}}:
 
  | pl = {{tooltip|Nr wytworzenia|Czy przedmiot może mieć numer wytworzenia?}}:
 
  | ru = {{tooltip|Номер ковки|Может ли предмет иметь номер ковки.}}:
 
  | es = {{tooltip|Numeración|Si el objeto fabricado ocupa un número de fabricación.}}:
 
  | 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.}}:
 
  | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa}}:
 
  | zh-hans = {{tooltip|合成编号|该物品是否可以拥有合成编号。}}
 
  | zh-hant = {{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.}}:
 
  | sv = {{tooltip|Tillverkningsnr.?|Om föremålet har ett Tillverkningsnummer.}}:
 
  }}]]</td><!--
 
  --><td class="infobox-data">{{#switch:{{lc:no}}
 
| ¬
 
| yes = {{common string|yes}}{{#if:<!-- # CATEGORY INLINE HOOK -->
 
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
    | {{lang cat|Craft numbered items}}
 
    }}
 
| no  = {{common string|no}}
 
| #default = no
 
}}</td>
 
</tr>
 
}}
 
}}<!--
 
 
// 'medieval'
 
 
 
-->{{#switch:{{lc:cosmetic}}
 
| weapon | weapons =
 
  <tr>
 
  <td class="infobox-label">[[Medieval mode{{if lang}}#{{lang
 
  | cs = Povolené zbraně
 
  | da = Tilladte våben
 
  | de = Erlaubte Waffen
 
  | en = Allowed weapons
 
  | fi = Sallitut aseet
 
  | es = Armas permitidas
 
  | fr = Armes autorisées
 
  | hu = Engedélyezett fegyverek
 
  | it = Arma Medievale
 
  | ja = 使用可能な武器
 
  | ko = 허가된 무기
 
  | nl = Toegestane wapens
 
  | no = Tillat våpen
 
  | pl = Dozwolone bronie
 
  | pt = Armas permitidas
 
  | ru = Допускается оружие
 
  | sv = Tillåtna vapen
 
  | tr = İzin verilen silahlar
 
  | zh-hans = 可用武器
 
  }}|{{lang
 
    | ar = {{tooltip|ميديفال|أذا كان يمكن إستخدام هذا البند في ميديفال مود.}}:
 
    | 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.}}:
 
    | de = {{tooltip|Mittelalter|Ob der Gegenstand im Mittelaltermodus benutzt werden kann.}}:
 
    | 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.}}:
 
    | fi = {{tooltip|Keskiaika|Voiko esinettä käyttää Keskiaika-tilassa?}}:
 
    | fr = {{tooltip|Médiéval|Si l'objet peut être utilisé en mode Médiéval.}} :
 
    | hu = {{tooltip|Középkori|Ha a tárgy használható a Középkori mód során.}}:
 
    | it = {{tooltip|Medievale|Se l'oggetto può essere utilizzato nella Modalità Medievale.}}:
 
    | ja = {{tooltip|メディーバル|メディーバルモードで使えるかどうか}}:
 
    | ko = {{tooltip|중세 여부|아이템이 중세 모드에서 사용 가능한 경우}}
 
    | nl = {{tooltip|Middeleeuws|Of je het voorwerp kunt gebruiken in de Middeleeuwse modus.}}:
 
    | no = {{tooltip|Middelalder|Om gjenstanden kan brukes i Middelalder modus.}}:
 
    | pl = {{tooltip|Średniowiecze|Czy przedmiot może być używany w Trybie Średniowiecznym?}}:
 
    | 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.}}:
 
    | ro = {{tooltip|Medieval|Acest produs se poate folosi în modul Medieval.}}:
 
    | ru = {{tooltip|Средневековье|Предмет может быть использован в режиме «Средневековье».}}:
 
    | sv = {{tooltip|Medeltid|Om föremålet kan användas under Medeltida läge.}}:
 
    | tr = {{tooltip|Orta Çağ|Eşyanın Orta Çağ modunda kullanılıp kullanılamayacağı.}}:
 
    | zh-hans = {{tooltip|中世纪|该物品是否能中世纪模式下使用。}}:
 
    | zh-hant = {{tooltip|中世紀|該物品是否可在中世紀模式下使用。}}:
 
    }}]]</td>
 
  <td class="infobox-data">{{#switch:{{#if:<!--
 
 
 
    // This section sets melee weapons to "yes", and all other weapons to "no".
 
    // It also allows for the default setting to be overridden by setting 'medieval' to yes.
 
 
 
    -->
 
    | {{lc:{{{medieval}}}}}
 
    | {{#switch:{{lc:}}
 
      | slot3 | slot 3 | 3 | melee = ¬
 
      | #default = no
 
      }}
 
    }}
 
    | ¬
 
    | yes = {{common string|yes}}{{#if:<!-- # CATEGORY INLINE HOOK -->
 
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
    | {{lang cat|Medieval weapons}}
 
    }}
 
    | no  = {{common string|no}}
 
    | #default = {{common string|yes}}
 
    }}</td>
 
  </tr>
 
| #default = {{ns:0}}<!-- Hats/Misc items/Tools etc cannot be medieval -->
 
}}
 
 
}}<!-- // This closes the taunt check from above. -->
 
}}<!-- // This closes the TFC switch from above. -->
 
}}<!-- // This closes the 'unused' #if from above.
 
 
// Ammunition
 
// First level of checking. If both params are N/A or similar, hide the whole thing.
 
 
 
-->{{#if:
 
| {{ns:0}}<!-- Hide ammunition section on unused weapons. -->
 
| {{#ifeq:{{lc:cosmetic}} | weapon
 
| {{#switch:<!--
 
  -->{{#switch:{{lc:}}<!-- // Disable ammunition section for melee & PDA weapons. -->
 
  | slot3 | slot 3 | 3 | melee 
 
  | pda1 | pda 1 | disguise kit
 
  | pda2 | pda 2 | watch | cloak = ¬
 
  | #default = {{ns:0}}<!-- NULL -->
 
  }}
 
  | ¬ | ¬N/AN/A | ¬N/A | ¬∞∞ | ¬∞ | ∞∞ | ∞ | N/AN/A | N/A | none | off | hide = {{ns:0}}<!-- NULL -->
 
  | #default =
 
  <tr>
 
  <th class="infobox-header" colspan="2">{{Common string|Ammo}}</th>
 
  </tr><!--
 
 
 
  // 'ammo-loaded'
 
  // Second level of checking. Check if the value is N/A, ∞, etc, if it is don't display it.
 
 
 
-->{{#switch:
 
  | N/A
 
  | ∞
 
  | -
 
  | hide
 
  | off
 
  | none = {{ns:0}}<!-- NULL -->
 
  | #default =
 
  <tr>
 
  <td class="infobox-label">{{lang
 
    | ar = الذخائر المخزنة:
 
    | cs = Nábojů v zásobníku:
 
    | da = Ammo ladt:
 
    | de = Magazingröße:
 
    | en = Ammo loaded:
 
    | es = Munición cargada:
 
    | fi = Lipaskoko:
 
    | fr = Munitions chargées :
 
    | hu = Tárkapacitás:
 
    | ja = 装弾数:
 
    | ko = 장탄수:
 
    | it = Caricatore:
 
    | nl = Munitie geladen:
 
    | no = Ammo ladet:
 
    | pl = Magazynek:
 
    | pt = Munição carregada:
 
    | pt-br = Munição carregada:
 
    | ro = Muniţie încărcată:
 
    | ru = Наготове:
 
    | sv = Ammunition laddad:
 
    | tr = Şarjör
 
    | zh-hans = 装弹数量:
 
    | zh-hant = 彈藥上膛數量:
 
    }}</td>
 
  <td class="infobox-data">{{{ammo-loaded}}}</td>
 
  </tr>
 
  }}<!--
 
 
 
  // 'ammo-carried'
 
  // Second level of checking. Check if the value is N/A, ∞, etc, if it is don't display it.
 
 
 
-->{{#switch:
 
  | N/A
 
  | ∞
 
  | -
 
  | hide
 
  | off
 
  | none = {{ns:0}}<!-- NULL -->
 
  | #default =
 
  <tr>
 
  <td class="infobox-label">{{lang
 
    | ar = الذخائر المحملة
 
    | cs = Nábojů neseno:
 
    | da = Ammo båret:
 
    | de = Gesamtmunition:
 
    | en = Ammo carried:
 
    | es = Munición llevada:
 
    | fi = Kannettuna:
 
    | fr = Munitions transportées :
 
    | hu = Tárolt lőszer:
 
    | ja = 弾薬数:
 
    | ko = 소지 탄약수:
 
    | it = Munizioni Trasportate:
 
    | nl = Munitie gehouden:
 
    | no = Ammo holdt:
 
    | pl = Amunicja zapasowa:
 
    | pt = Munição transportada:
 
    | pt-br = Munição transportada:
 
    | ro = Muniţie în dotare:
 
    | ru = В запасе:
 
    | sv = Ammunition buren:
 
    | tr = Taşınan cephane
 
    | zh-hans = 携弹数量:
 
    | zh-hant = 彈藥攜帶數量:
 
    }}</td>
 
  <td class="infobox-data">{{{ammo-carried}}}</td>
 
  </tr>
 
  }}
 
}}{{#if:
 
| <tr><!--
 
 
// 'ammo-type'
 
 
 
--><td class="infobox-label">{{lang
 
    | ar = نوع الذخيرة:
 
    | cs = Typ munice:
 
    | da = Ammunitionstype:
 
    | de = Munitionsart:
 
    | en = Ammo type:
 
    | es = Tipo de munición:
 
    | fi = Ammustyyppi:
 
    | fr = Type de munitions :
 
    | hu = Lőszertípus:
 
    | ja = 弾薬タイプ:
 
    | ko = 탄약 유형:
 
    | it = Tipo di Munizioni:
 
    | nl = Munitietype:
 
    | no = Type ammunisjon:
 
    | pl = Rodzaj amunicji:
 
    | pt = Tipo de munição:
 
    | pt-br = Tipo de munição:
 
    | ru = Тип боеприпасов:
 
    | ro = Tipul muniţiei:
 
    | sv = Ammunitionstyp:
 
    | tr = Cephane tipi
 
    | zh-hans = 子弹类型:
 
    | zh-hant = 子彈類型:
 
    }}</td><!--
 
  --><td class="infobox-data">{{{ammo-type}}}</td>
 
  </tr>
 
}}{{#if:
 
| <tr><!--
 
 
// 'reload-type'
 
 
 
--><td class="infobox-label">{{lang
 
    | ar = نوع الريلود :
 
    | cs = Typ nabíjení:
 
    | da = Ladningstype:
 
    | de = Nachladetyp:
 
    | en = Reload type:
 
    | fi = Lataustapa:
 
    | fr = Type de rechargement :
 
    | hu = Újratöltés típusa:
 
    | ja = 装弾方式:
 
    | ko = 장전 방식:
 
    | es = Tipo de recarga:
 
    | it = Tipo di Ricarica:
 
    | nl = Type lading:
 
    | no = Type lading:
 
    | pl = Przeładowywanie:
 
    | pt = Tipo de recarga:
 
    | pt-br = Tipo de recarga:
 
    | ro = Tip de reîncărcare:
 
    | ru = Тип перезарядки:
 
    | sv = Laddningstyp:
 
    | tr = Dolduruş tipi
 
    | zh-hans = 填充类型:
 
    | zh-hant = 裝彈方式:
 
    }}</td><!--
 
  --><td class="infobox-data">{{{reload}}}
 
  </td>
 
  </tr>
 
}}<!-- End 'reload-type' -->
 
| {{ns:0}}<!-- NULL: hide ammunition for all types excluding weapons. -->
 
}}
 
}}<!-- End ammunition switch.
 
 
 
// Available qualities
 
 
 
--->
 
{{#if:|{{ns:0}}| <!--
 
--> {{#if:|{{ns:0}}| <!--
 
--> {{#if:|{{ns:0}}| <!--
 
--> {{#switch:|tfc = {{ns:0}}|#default =
 
<tr>
 
  <th class="infobox-header" colspan="2">{{lang
 
    | en = Available Qualities
 
    | cs = Dostupné kvality
 
    | da = Tilgængelige Kvaliteter
 
    | de = Verfügbare Qualitäten
 
    | es = Aspectos disponibles
 
    | fi = Olemassaolevat laadut
 
    | fr = Qualités disponibles
 
    | hu = Rendekjezésre álló ritkaságok
 
    | it = Qualità disponibili
 
    | ja = 存在するクオリティ
 
    | ko = 존재하는 품질
 
    | no = Tilgjengelige kvaliteter
 
    | pl = Dostępne jakości
 
    | pt = Qualidades Disponíveis
 
    | pt-br = Qualidades disponíveis
 
    | ru = Доступные качества
 
    | sv = Tillgängliga kvaliteter
 
    | tr = Mevcut Nitelikler
 
    | zh-hans = 可获取的品质
 
    | zh-hant = 可能的屬性
 
  }}</th>
 
</tr>
 
<tr>
 
<td colspan="2" style="text-align:center;">
 
{{quality list|item-name={{BASEPAGENAME}}}}
 
</td>
 
</tr>
 
}}}}}}}}
 
<!--end quality
 
 
// Loadout Stats
 
 
 
-->{{#switch:{{lc:yes}}
 
| no
 
| ¬ = {{ns:0}}<!-- Hide loadout by default, and if loadout is set to 'no' -->
 
| #default = <tr>
 
  <th class="infobox-header" colspan="2">{{lang
 
    | ar = حالة لودأوت
 
    | cs = Vlastnosti ve výbavě
 
    | da = Udrustningsstatistik
 
    | de = Inventar
 
    | en = Loadout Stats
 
    | es = Estadísticas
 
    | fi = Varustelastiominaisuudet
 
    | fr = Statistiques d'inventaire
 
    | hu = Statisztikák
 
    | ja = バックパック内表示
 
    | ko = 장비 설정 상태
 
    | it = Statistiche
 
    | nl = Uitrustingsstatistieken:
 
    | no = Inventar Statistikk
 
    | pl = Statystyki
 
    | pt = Atributos
 
    | pt-br = Atributos
 
    | ro = Statistici
 
    | ru = Характеристики
 
    | sv = Statistik
 
    | tr = Ekipman İstatistikleri
 
    | zh-hans = 游戏内显示
 
    | zh-hant = 選單顯示
 
    }}</th>
 
  </tr><tr>
 
  <td colspan="2" style="text-align:center;" class="loadout-tooltip-container"><!--
 
 
 
    // The following relies on functionality provided by the {{Backpack item}} template.
 
 
 
  -->{{Backpack item
 
| file-link = yes
 
| unusual-icon =
 
| strange-icon =
 
| stat-icon =
 
| decal-icon =
 
| pyroland-icon =
 
| custom-icon =
 
| quality = Unique
 
| prefix =
 
| suffix =
 
| {{#if:|rankson|void}}=
 
| {{#if:|rankson2|void}}=
 
| {{#if:|rankson3|void}}=
 
| {{#if:|rankson4|void}}=
 
| {{#if:|rankson5|void}}=
 
| {{#if:|rankson6|void}}=
 
| {{#if:|rankson7|void}}=
 
| {{#if:|rankson8|void}}=
 
| {{#if:|rankson9|void}}=
 
| killcount = 0
 
| killcount2 = 0
 
| killcount3 = 0
 
| killcount4 = 0
 
| killcount5 = 0
 
| killcount6 = 0
 
| killcount7 = 0
 
| killcount8 = 0
 
| killcount9 = 0
 
| item-name = {{BASEPAGENAME}}
 
| item-name-local = {{#if:
 
  | {{{loadout-name}}}
 
  | {{#if:
 
  |
 
  | {{#if:
 
    | {{ns:0}}<!-- Set hide-loadout-prefix to anything to skip this. -->
 
    | {{if lang
 
    | en = {{#switch:{{lc:cosmetic}}
 
      | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
 
      | tools | tool | action item | action | action taunt = {{ns:0}}<!-- Hats, misc and tools usually don't have "The". -->
 
      | yes | #default =
 
        {{#switch:{{lc:}}
 
          | | unique = The {{BASEPAGENAME}}
 
          | #default = {{BASEPAGENAME}}
 
        }}
 
      }}
 
    | non-en = {{item name|{{BASEPAGENAME}}}}<!-- Ignore this for non-English pages. -->
 
    }}
 
    }}
 
  }}
 
  }}
 
| limited = no
 
{{#if:|
 
  {{!}}grade={{{grade}}}
 
}}{{#if:|
 
  {{!}}wear={{{wear}}}
 
}}{{#if:|
 
  {{!}}unusual-effect={{{unusual-effect}}}
 
}}{{#if:Hat|
 
  {{!}}item-kind=Hat
 
 
}}
 
}}
| {{#if:10|item-level|null}} = {{#if:10
+
|{{#invoke:Backpack item|backpack_item
  | 10
+
| item-name = Shotgun
  | {{#switch:{{lc:cosmetic}}
+
| quality = Strange
  | cosmetic | hats | head | headwear | hat = {{lang
+
| festivized = yes
    | en = Level 1–100 Hat
+
| killstreak = professional
    | da = Niveau 1-100 hat
+
| filter = yukon
    | 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
 
    | pt-br = Chapéu nível 1-100
 
    | ru = Головной убор 1-100-го уровня
 
    | sv = Nivå 1-100 Hatt
 
    | tr = Seviye 1-100 Şapka
 
    | zh-hans = 等级 1-100 帽子
 
    | zh-hant = 等級 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 = <!--
 
 
 
  // Whenever this change gets made, change the 'Level 1-100' above to read merely '1-100'.
 
  // 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 = This is a special Halloween 2011 item
 
  | att-1-negative =
 
  | att-1-neutral =
 
 
 
  | att-2-positive = 
 
  | att-2-negative = 
 
  | att-2-neutral = 
 
 
 
  | att-3-positive = 
 
  | att-3-negative = 
 
  | att-3-neutral = 
 
 
 
  | att-4-positive = 
 
  | att-4-negative = 
 
  | att-4-neutral = 
 
 
 
  | att-5-positive = 
 
  | att-5-negative = 
 
  | att-5-neutral = 
 
 
 
  | att-6-positive = 
 
  | att-6-negative = 
 
  | att-6-neutral = 
 
 
 
  | att-7-positive = 
 
  | att-7-negative = 
 
  | att-7-neutral = 
 
 
 
  | att-8-positive = 
 
  | att-8-negative = 
 
  | att-8-neutral = 
 
 
 
| item-description = {{#if:Elegant simplicity and old-world charm combined with the heady aromas of mold and grave dust.
 
  | Elegant simplicity and old-world charm combined with the heady aromas of mold and grave dust.
 
  | {{#switch:{{lc:cosmetic}}
 
  | cosmetic
 
  | hats
 
  | head
 
  | hat
 
  | headwear =
 
  | #default = {{ns:0}}<!-- NULL -->
 
  }}
 
  }}
 
| item-expiration =
 
| item-uses =
 
| item-flags = Achievement Item: Not Tradable
 
}}
 
</td>
 
</tr>
 
}}<!-- Close 'loadout' #if -->
 
 
 
</table></div>}}<!-- End table --><!--
 
 
 
// Automatic display title.
 
// Its value comes from the "name" parameter (so the same name is shown for the title of the infobox, displayed title of the page
 
// and the item name in the loadout stats).
 
 
 
-->{{#ifeq: | off
 
| {{ns:0}}<!-- Ignore if 'displaytitle' has been set to 'off'. -->
 
| {{#if:
 
  | {{DISPLAYTITLE:}}
 
  | {{if lang| non-en = {{DISPLAYTITLE:{{item name|{{BASEPAGENAME}}}}}}| en = {{ns:0}}}}<!-- Ignore if 'name' isn't defined (majority of English pages). -->
 
  }}
 
}}<!--
 
 
 
// Begin categorization.
 
 
 
-->{{#if:
 
| {{ns:0}}<!-- NULL: if 'cat' is defined. -->
 
| {{#switch:{{lc:}}
 
| tfc = {{#switch:{{lc:cosmetic}}
 
| weapon | weapons = {{lang cat|Weapons (Classic)}}
 
}}
 
| #default = {{#switch:{{lc:cosmetic}}
 
| weapons
 
| weapon = {{#if:
 
  | {{ns:0}}<!-- Only real weapons should be placed in Category:Weapons -->
 
  | {{lang cat|Weapons}}
 
  }}<!--
 
--><!--
 
  // Categorize by slot (excluding taunt kills)
 
  -->{{#if:
 
  | {{ns:0}}<!-- Remove slot categorization for unused items, or items with custom slots. -->
 
  | {{#switch:{{lc:cosmetic}}
 
  | taunt | tauntkill | taunt-kill = {{ns:0}}<!-- Don't place these slot categories on taunt pages. -->
 
  | #default = {{#switch:{{lc:}}
 
    | slot1 | slot 1 | 1 | primary = {{lang cat|Primary weapons}}
 
    | slot2 | slot 2 | 2 | secondary = {{lang cat|Secondary weapons}}
 
    | slot3 | slot 3 | 3 | melee = {{lang cat|Melee weapons}}
 
    | pda1 | pda 1 | disguise kit = {{lang cat|PDA1 weapons}}
 
    | pda2 | pda 2 | watch | cloak = {{lang cat|PDA2 weapons}}
 
    | building | sapper = {{lang cat|Building weapons}}
 
    | #default = [[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]<!--
 
    // If 'slot' doesn't match any of the above, the page is not categorized, but is instead placed in a hidden maintenance category, for tracking purposes.
 
    -->
 
    }}
 
  }}
 
  }}
 
| cosmetic
 
| hats | head | headwear | hat
 
| misc item | misc. | misc | misc. item | miscellaneous | miscellaneous item = {{lang cat|Cosmetic items}}
 
| taunt = {{lang cat|Taunts}}
 
| tools | tool = {{lang cat|Tools}}
 
| action item | action = {{lang cat|Action items}}
 
| action taunt = {{lang cat|Action items}}{{lang cat|Taunts}}
 
}}
 
}}<!--
 
-->{{#switch:{{lc:cosmetic}}
 
    | cosmetic
 
    | hats
 
    | head
 
    | headwear
 
    | hat
 
    | misc item
 
    | misc.
 
    | misc
 
    | misc. item
 
    | miscellaneous
 
    | miscellaneous item
 
    | weapon
 
    | weapons = {{#if: |{{ns:0}}|{{#ifeq: {{lc:}}|tfc|{{ns:0}}|{{lang cat|Valve-made items|sort={{ucfirst:cosmetic}}&#32;{{BASEPAGENAME}}}}}}}}
 
 
}}
 
}}
}}<!--
+
|}
 
 
  // Deprecated parameter tracking.
 
  // This places pages that use old parameters into dedicated categories where they can be located & fixed.
 
  // See [[Category:Tracking categories]].
 
 
 
    // NONE
 
 
 
  // Error tracking.
 
-->{{#if:cosmetic||<!--
 
  --><span class="error mid">ERROR {{tl|Item infobox}} missing 'type' parameter ([[Template:Item infobox#Setup_parameters|Documentation]]).</span><!--
 
  -->[[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]<!--
 
-->}}<!--
 
 
 
-->{{#switch:{{lc:cosmetic}}
 
  | weapons | weapon | taunt | tauntkill | taunt-kill
 
  | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
 
  | tools | tool | action item | action | action taunt
 
  | bundle = {{ns:0}}<!-- Accepted values for 'type'. -->
 
  | blank | none | {{ns:0}} | #default = [[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]
 
  }}<!--
 
 
 
  // From WindBOT.
 
-->{{#ifeq:|invalid|<!--
 
  -->[[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]<!--
 
-->|}}<!--
 
 
 
  // 'loadout-name' and 'loadout-prefix' usage.
 
  -->{{#if:
 
  | [[Category:Item infobox using 'loadout-name'|{{BASEPAGENAME}} {{SUBPAGENAME}}]]
 
  }}{{#if:
 
  | [[Category:Item infobox using 'loadout-prefix'|{{BASEPAGENAME}} {{SUBPAGENAME}}]]
 
  }}<!--
 
  
  // Maintenance tracking.
+
== See also ==
-->[[Category:Item infobox usage|{{if lang|en=&#32;{{BASEPAGENAME}}|non-en={{SUBPAGENAME}}&#32;{{BASEPAGENAME}}}}]]<!--
+
{{Image insertion templates list}}
  
--><!--
+
<noinclude>[[Category:Template documentation|Backpack item]]</noinclude>
-->
 

Latest revision as of 19:50, 25 May 2019

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

Parameters

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

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

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

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

Examples

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

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

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

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

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

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


( Not Tradable or Usable in Crafting )

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


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

Tux
Limited Level 1-100 Mascot
Linux represent!

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

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

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

A Hat to Kill For
Civilian Grade Hat
Hat

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

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

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

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

★ Unusual Effect: Mega Strike

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

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

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

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

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

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

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

Max's Severed Head
Limited Level 1 - 100 Hat

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

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

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

Tomislav
Level 1 Tomislav

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

Jarate
Level 5 Jar Based Karate

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

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

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

This is a limited use item. Uses: 1

( Not Tradable or Marketable )

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

Template:Dictionary/common strings/backpack item item uses

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

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

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

This is a limited use item. Uses: 1

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

Template:Dictionary/common strings/backpack item item expiration

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

Canadian Shotgun
1 - 100

See also

Image insertion templatesview  edit )