Revision Page #1
Status: Occupied
Occupant: SkyTBM
Original Page: Template:Item infobox, User:Pilk/armory
Restricted Access: True
Original Revision: 18:58, 5 August 2016, 12:50, 2 December 2011
Edit below this line
--><div id="right-sidebar"><table class="infobox item-infobox {{{type|item}}}-{{#ifeq:{{lc:{{{game|}}}}}|tfc|tfc-}}infobox" style="width:300px; max-width:300px; {{lang incomplete|ar=float:left; margin: 0.5em 1 0.5em 0em;}}">
<tr>
<th class="infobox-header" id="top-header" colspan="2" style="background:#F3A957;">{{{name-override|{{{NAME|{{{name|{{if lang | non-en = {{{title|{{item name|{{BASEPAGENAME}}}}}}}| en = {{{title|{{BASEPAGENAME}}}}}}}}}}}}}}}}</th>
</tr><!--
-->{{#if:{{{beta|}}}
| <tr>
<th class="infobox-header" colspan="2">[[Team Fortress 2 Beta{{if lang}}|{{Common string|Team Fortress 2 Beta}}]]
</th>
</tr>
}}<!--
// IMAGES
-->{{#if:{{{image|}}}{{{team-colors|{{{two-models|}}}}}}
| <tr>
<td colspan="2" style="padding:0em;"><!--
-->{{#if: {{{3d-image-1|}}}|{{#invoke:3D viewer advanced|viewer_new}}|
{{#ifeq: {{lc:{{{type|}}}}} | weapon
| {{#if:{{{game|}}}
|| {{#if:{{{team-colors|{{{two-models|}}}}}}
| {{#if:{{{3d-team-alt|}}}
| {{#ifexist: File:{{BASEPAGENAME}}_RED_3D.jpg
| {{3D Mixed Viewer
|number-of-3d-images={{{number-of-3d-images|}}}
|number-of-3d-team-images={{{number-of-3d-team-images|}}}
|number-of-3d-alt-images={{{number-of-3d-alt-images|}}}
|view1={{{view1|{{BASEPAGENAME}} RED 3D.jpg}}}
|view1name={{{view1name|}}}
|view2={{{view2|{{BASEPAGENAME}} BLU 3D.jpg}}}
|view2name={{{view2name|}}}
|view3={{{view3|{{BASEPAGENAME}} RED Alt 3D.jpg}}}
|view3name={{{view3name|}}}
|view4={{{view4|{{BASEPAGENAME}} BLU Alt 3D.jpg}}}
|view4name={{{view4name|}}}
|view5={{{view5|{{BASEPAGENAME}} Alt 3D.jpg}}}
|view5name={{{view5name|}}}
|view6={{{view6|{{BASEPAGENAME}} Alt 2 3D.jpg}}}
|view6name={{{view6name|}}}
|fallback=[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}|center]]
}}
{{2D viewer|{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}}}
| [[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}|center]]
}}
| {{#if: {{{3d-team|{{#ifexist:File:{{BASEPAGENAME}}_RED_3D.jpg|true}}}}}
| {{3D Team Viewer
|number-of-3d-images={{{number-of-3d-images|}}}
|view1={{{view1|{{BASEPAGENAME}} RED 3D.jpg}}}
|view1name={{{view1name|RED}}}
|view2={{{view2|{{BASEPAGENAME}} BLU 3D.jpg}}}
|view2name={{{view2name|BLU}}}
|view3={{{view3|{{BASEPAGENAME}} RED Alt 3D.jpg}}}
|view3name={{{view3name|}}}
|view4={{{view4|{{BASEPAGENAME}} BLU Alt 3D.jpg}}}
|view4name={{{view4name|}}}
|view5={{{view5|{{BASEPAGENAME}} RED Alt 2 3D.jpg}}}
|view5name={{{view5name|}}}
|view6={{{view6|{{BASEPAGENAME}} BLU Alt 2 3D.jpg}}}
|view6name={{{view6name|}}}
|fallback=[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}|center]]
}}
{{2D viewer|{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}}}
| [[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{imagewidth|250px}}}|center]]
}}
}}
| {{#if:{{{3d-alt|}}}
| {{#ifexist: File:{{BASEPAGENAME}}_3D.jpg
| {{3D Alt Viewer
|number-of-3d-images={{{number-of-3d-images|}}}
|view1={{{view1|{{BASEPAGENAME}} 3D.jpg}}}
|view1name={{{view1name|}}}
|view2={{{view2|{{BASEPAGENAME}} Alt 3D.jpg}}}
|view2name={{{view2name|}}}
|view3={{{view3|{{BASEPAGENAME}} Alt 2 3D.jpg}}}
|view3name={{{view3name|}}}
|view4={{{view4|{{BASEPAGENAME}} Alt 3 3D.jpg}}}
|view4name={{{view4name|}}}
|fallback=[[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
{{2D viewer|{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}}}
| [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
| {{#ifexist: File:{{BASEPAGENAME}}_Festive_RED_3D.jpg
| {{3D Mixed Viewer
|number-of-3d-images=3
|number-of-3d-team-images=2
|number-of-3d-alt-images=1
|3d-festive-alt = yes
|view1={{{view1|{{BASEPAGENAME}} 3D.jpg}}}
|view1name={{{view1name|Normal}}}
|view2={{{view2|{{BASEPAGENAME}} Festive RED 3D.jpg}}}
|view2name={{{view2name|{{common string|Festive}} ({{common string|RED}})}}}
|view3={{{view3|{{BASEPAGENAME}} Festive BLU 3D.jpg}}}
|view3name={{{view3name|{{common string|Festive}} ({{common string|BLU}})}}}
|fallback=[[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
{{2D viewer|{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}}}
| {{#ifexist: File:{{BASEPAGENAME}}_3D.jpg
| {{3D viewer
|image-0={{{view|{{BASEPAGENAME}} 3D.jpg}}}
|fallback=[[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
{{2D viewer|{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}}}
| [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
}}
}}
}}<!-- End team-colors -->
| [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]}}<!-- End #if:game -->
| [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
}}
}}
</td>
</tr>
}}<!--
// 'Buy Now' button
-->{{#switch:{{{price|{{{item price|{{{show-price|¬}}}}}}}}}
| ¬ = {{#ifexist:Template:Dictionary/price/{{lc:{{{displayed-price|{{BASEPAGENAME}}}}}}}
|<!--
--><tr><td colspan="2" class="infobox-data" style="text-align:center">{{Buy now|{{lc:{{{displayed-price|{{BASEPAGENAME}}}}}}}}}</td></tr>
}}
| #default = {{ns:0}}<!-- Avoid the #ifexist: above if the infobox says no -->
}}<!--
// End 'Buy Now' button
// Team-colored images
-->{{#if:{{{team-colors|{{{two-models|}}}}}}
| {{#switch:{{lc:{{{type|}}}}}<!--
// Grid
// Uses a nested table due to issues with column widths present in the rest of the table.
-->
| cosmetic
| action taunt
| action | action item
| hat
| misc. item
| misc item
| misc =
<tr>
<td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<tr>
<td style="width:50%; background:#B8383B; text-align:center; border-right:1px solid #fff;"><!--
-->[[RED{{if lang}}|<span style="color:#fff;">{{Common string|RED}}</span>]]
</td>
<td style="width:50%; background:#5885A2; text-align:center; border-left:1px solid #fff;"><!--
-->[[BLU{{if lang}}|<span style="color:#fff;">{{Common string|BLU}}</span>]]
</td>
</tr>{{#if: {{{team-colors-class1|}}}
| <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>
</table>
</td>
<tr>
<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>
<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: {{{team-colors-class2|}}}
| <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-class2}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class2}}}}}}}'''</td>
</table>
</td>
<tr>
<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>
<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>
</tr>{{#if: {{{team-colors-class3|}}}
| <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>
</table>
</td>
<tr>
<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>
<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>
</tr>{{#if: {{{team-colors-class4|}}}
| <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-class4}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class4}}}}}}}'''</td>
</table>
</td>
<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>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class4}}}|other||_{{{team-colors-class4}}}}}.png|95x95px]]</td>
</tr>{{#if: {{{team-colors-class5|}}}
| <td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class5}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class5}}}}}}}'''</td>
</table>
</td>
<tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
</tr>{{#if: {{{team-colors-class6|}}}
| <td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class6}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class6}}}}}}}'''</td>
</table>
</td>
<tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
</tr>{{#if: {{{team-colors-class7|}}}
| <td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class7}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class7}}}}}}}'''</td>
</table>
</td>
<tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
</tr>{{#if: {{{team-colors-class8|}}}
| <td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class8}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class8}}}}}}}'''</td>
</table>
</td>
<tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
</tr>{{#if: {{{team-colors-class9|}}}
| <td colspan="2" style="padding:none;">
<table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
<td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{#ifeq: {{{team-colors-class9}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class9}}}}}}}'''</td>
</table>
</td>
<tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
</tr>}} }} }} }} }} }} }} }}
| <tr>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|95x95px]]</td>
<td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-blu|BLU {{BASEPAGENAME}}.png}}}|95x95px]]</td>
</tr>}}
</table>
</td>
</tr><!--
// Stacked landscape views (used only on non-TF2 weapons)
-->
| weapon = {{#switch:{{lc:{{{game|}}}}}
| tfc
| classic = <!--
// QTF & TFC landscape images.
--><tr>
<td colspan="2" style="width:100%; background:#C7A900; text-align:{{lang incomplete|ar = right|en = left}};"><!--
--><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--
-->[[File:Classic Icon.png|20px|Team Fortress Classic|link=Team Fortress Classic{{if lang}}]]<!--
--> [[Team Fortress Classic{{if lang}}|<span style="color:#fff;">{{Common string|Team Fortress Classic}}</span>]]<!--
--></span>
</td>
</tr><tr>
<td colspan="2" style="margin:0em auto;"><!--
-->[[File:{{{TFC-model|Screenshot needed.png}}}|250px|center]]
</td>
</tr><!--
// TFC ends.
// QTF begins.
--><tr><!--
--><td colspan="2" style="width:100%; background:#C77700; text-align:{{lang incomplete|ar = right|en = left}};"><!--
--><span style="white-space:nowrap; font-size:120%; font-weight:bold;"><!--
-->[[File:Quake Icon.png|22px|Team Fortress|link=Team Fortress{{if lang}}]]<!--
--> [[Team Fortress{{if lang}}|<span style="color:#fff;">{{Common string|Team Fortress}}</span>]]<!--
--></span>
</td>
</tr><tr>
<td colspan="2" style="margin:0em auto;"><!--
-->[[File:{{{QTF-model|Screenshot needed.png}}}|250px|center]]
</td>
</tr>
}}<!-- End 'game' switch -->
| #default = {{ns:0}}<!-- NULL -->
}}
}}<!--
// End team-colored images switch
// Begin kill icons
-->{{#if:{{{hide-kill-icon|}}}
| {{ns:0}}<!-- Ignore all of this if 'hide-kill-icon' is set to anything. -->
| {{#switch:{{lc:{{{type|}}}}}
| weapon | weapons | taunt | tauntkill | taunt-kill = {{#switch:{{Icon killicon|weapon={{lc:{{{kill-icon-1|{{BASEPAGENAME}}}}}}}}}
| none = {{ns:0}}<!-- If the killicon doesn't exist at the right spot (i.e. exact article title), hide it. -->
| #default =
<tr>
<th class="infobox-header" colspan="2">{{lang
| en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
}}
</th>
</tr><tr>
<td colspan="2">{{kill notice|weapon={{lc:{{{kill-icon-1|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-1|}}}}}</td><!--
--></tr>
}}<!-- End of #ifeq 'none' from above.
-->{{#if:{{{kill-icon-2|}}}
| <tr><td colspan="2">
{{#if:{{{kill-tooltip-2}}}|
{{kill notice|weapon={{lc:{{{kill-icon-2|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-2|}}}|kill-tool={{{kill-tooltip-2|}}}}}
|
{{kill notice|weapon={{lc:{{{kill-icon-2|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-2|}}}}}
}}
</td></tr>
}}
{{#if:{{{kill-icon-3|}}}
| <tr><td colspan="2">
{{#if:{{{kill-tooltip-3}}}|
{{kill notice|weapon={{lc:{{{kill-icon-3|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-3|}}}|kill-tool={{{kill-tooltip-3|}}}}}
|
{{kill notice|weapon={{lc:{{{kill-icon-3|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-3|}}}}}
}}
</td></tr>
}}{{#if:{{{kill-icon-4|}}}
| <tr><td colspan="2">
{{#if:{{{kill-tooltip-4}}}|
{{kill notice|weapon={{lc:{{{kill-icon-4|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-4|}}}|kill-tool={{{kill-tooltip-4|}}}}}
|
{{kill notice|weapon={{lc:{{{kill-icon-4|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-4|}}}}}
}}
</td></tr>
}}{{#if:{{{kill-icon-5|}}}
| <tr><td colspan="2">
{{#if:{{{kill-tooltip-5}}}|
{{kill notice|weapon={{lc:{{{kill-icon-5|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-5|}}}|kill-tool={{{kill-tooltip-5|}}}}}
|
{{kill notice|weapon={{lc:{{{kill-icon-5|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-5|}}}}}
}}
</td></tr>
}}{{#if:{{{kill-icon-6|}}}
| <tr><td colspan="2">
{{#if:{{{kill-tooltip-6}}}|
{{kill notice|weapon={{lc:{{{kill-icon-6|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-6|}}}|kill-tool={{{kill-tooltip-6|}}}}}
|
{{kill notice|weapon={{lc:{{{kill-icon-6|{{BASEPAGENAME}}}}}}}|kill-text={{{kill-text-6|}}}}}
}}
</td></tr>
}}
| #default = {{ns:0}}<!-- Limit killicon section to weapons & taunts only (excluding action taunts). -->
}}
}}<!--
// Basic Information
--><tr>
<th class="infobox-header" colspan="2">{{lang
| en = Basic Information
}}
</th>
</tr><!--
// 'used-by'
-->{{#switch:{{lc:{{{type|}}}}}
| tool | tools = {{ns:0}}<!-- NULL: don't have 'used-by' on tools. -->
| #default =
<tr>
<td class="infobox-label">{{#switch:{{lc:{{{type|}}}}}
| 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
| en = Worn by:
}}
}}</td><td>{{{used-by}}}</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:{{{type|}}}}}
| tool | tools = {{ns:0}}
| #default = <tr>
<td class="infobox-label">{{lang
| en = Slot:
}}</td>
<td class="infobox-data">{{#switch:{{lc:{{{type|}}}}}
| bundle = {{Common string|Bundle}}
| taunt | weapon = {{#if:{{{game|{{{custom-slot|}}}}}}|{{{slot|}}}<!--If we have a custom slot, or are in a custom game (TFC/QTF/TF) use whatever it is. Otherwise...-->
|{{#ifexpr:{{#if:{{{unused|{{{beta|}}}}}}|1|0}} and not {{#if:{{{slot|}}}|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:{{{slot|}}}}}|grenade| <!-- Handling the grenade slot separately because it needs to link differently. -->
[[Unused content{{if lang}}#{{lang <!-- Section links -->
| en = Grenades
| #default = <!-- No section link -->
}}{{!}}{{Item name|Grenade}}]]|[[Weapons{{#if:{{{game|}}}| (Classic)}}{{if lang}}|{{#switch:{{lc:{{{slot|}}}}}<!-- 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 = <includeonly>[[Category:Item infobox ERROR]]</includeonly>
}}]]}}
}}{{#ifeq:{{{type|}}}|taunt| ({{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 = {{{slot|{{{custom-slot|{{ucfirst:{{{type|}}}}}}}}}}}<!-- If all else fails, just display 'slot'. -->
}}
</td>
</tr>
}}{{#switch:{{lc:{{{type|}}}}}
| cosmetic
| hats | head | headwear | hat
| misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
| weapon | weapons | action | action item = {{#switch: {{#switch:{{lc:{{{type|}}}}}
| weapon | weapons | action | action item = {{#if:{{{equip-region|}}}|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:{{{type|}}}}}
| cosmetic
| hats | head | headwear | hat
| misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item = {{lc:{{{equip-region|hat}}}}}
| #default = {{lc:{{{equip-region|error}}}}}<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{equip-region-2|}}}
|, {{Item name| er {{lc: {{{equip-region-2|}}} }} }}<!--
-->{{#if:{{{equip-region-3|}}}
|, {{Item name| er {{lc: {{{equip-region-3|}}} }} }}<!--
-->{{#if:{{{equip-region-4|}}}
|, {{Item name| er {{lc: {{{equip-region-4|}}} }} }}<!--
-->{{#if:{{{equip-region-5|}}}
|, {{Item name| er {{lc: {{{equip-region-5|}}} }} }}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->}}</td></tr>
}}<!-- #switch: -->
}}{{#if:{{{contributed-by|}}}
| <tr><!--
// 'contributed-by' (optional)
--><td class="infobox-label">{{lang
| en = Contributed by:
}}</td><!--
--><td class="infobox-data">{{{contributed-by}}}</td><!--
--><includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{lang cat|Community-contributed items|sort={{ucfirst:{{{type|-}}}}} {{BASEPAGENAME}}}}
}}</includeonly>
</tr>
}}{{#if:{{{released|}}}
| <tr><!--
// 'released' (optional)
--><td class="infobox-label">{{lang
| en = Released:
}}</td><!--
--><td class="infobox-data">{{{released}}}</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:{{{unused|{{{beta|}}}}}}
| {{ns:0}}<!-- Hide because unused is defined. -->
| {{#switch:{{lc:{{{game|}}}}}
| tfc = {{ns:0}}
| #default = {{#switch:{{lc:{{{type|}}}}}
| taunt | tauntkill | taunt-kill = {{ns:0}}
| #default = <!--
--><tr><!--
// 'availability' (optional)
--><td class="infobox-label">{{common string|availability}}:</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{type|}}}}}
| cosmetic
| hat | hats | head | headwear
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
| #default = {{#if:{{{availability|}}}|{{{availability}}}|{{common string|drop}}
}}
}}
</td>
</tr>{{#ifeq:{{lc:{{{quality|}}}}} | 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:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't trade taunts -->
| <tr><!--
// 'trade'
--><td class="infobox-label">[[Trading{{if lang}}|{{lang
| en = {{tooltip|Tradable|If the item is usable in Trading.}}:
}}]]</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{trade|¬}}}}}
| ¬
| yes = {{common string|yes}}
| no = {{common string|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{lang cat|Untradeable items}}
}}</includeonly>
| #default = {{{trade|}}}
}}</td>
</tr>
}}{{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't gift taunts either -->
| <tr><!--
// 'gift'
--><td class="infobox-label">[[Gift Wrap{{if lang}}|{{lang
| en = {{tooltip|Giftable|If the item can be wrapped using the Gift Wrap.}}:
}}]]</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{gift|¬}}}}}
| ¬
| yes = {{common string|yes}}
| no = {{common string|no}}
| #default = {{{gift|}}}
}}</td></tr>}}<!--
// 'craft'
-->{{#switch:{{lc:{{{type|}}}}}
| taunt = {{ns:0}}<!-- NULL: can't craft these -->
| #default = {{#if:{{{craft|}}}
| <tr>
<td class="infobox-label">[[Crafting{{if lang}}|{{lang
| en = {{tooltip|Craftable|If the item is usable in Crafting.}}:
}}]]</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{craft|¬}}}}}
| ¬
| yes = {{common string|yes}}
| no = {{common string|no}}
| #default = {{{craft|}}}
}}</td>
</tr>
}}
}}{{#switch:{{lc:{{{type|}}}}}
| 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
| en = {{tooltip|Paintable|If the item can be painted using the Paint Can.}}:
}}]]</td><!--
--><td class="infobox-data"><!--
-->{{#switch:<!--
-->{{#if:{{{paint|}}}
| {{lc:{{{paint|}}}}}
| {{#switch:{{lc:{{{type|}}}}}
| cosmetic
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
| hat | hats | head | headwear | #default = ¬
}}
}}
| ¬
| yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{lang cat|Paintable items}}
}}</includeonly>
| no = {{common string|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{#switch:{{lc:{{{type|}}}}}
| cosmetic
| misc item | misc. | misc. item | misc | miscellaneous | miscellaneous item
| hat | hats | head | headwear = {{lang cat|Unpaintable items}}
| #default = {{ns:0}}
}}
}}</includeonly>
| #default = {{{paint|}}}
}}</td>
</tr>
| #default = {{ns:0}}<!-- NULL: paint only for hats for now. -->
}}
}}<!-- <<< This closes the #ifeq 'quality' from above.
// 'rename'
-->{{#switch:{{lc:{{{type|}}}}}
| 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
| en = {{tooltip|Nameable|If the item can be renamed using the Name Tag.}}:
}}]]</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{rename|¬}}}}}
| ¬
| yes = {{common string|yes}}
| no = {{common string|no}}
| #default = {{{rename|}}}
}}</td>
</tr>
}}<!--
// 'numbered'
-->{{#if:{{{numbered|}}}
| {{#switch:{{lc:{{{type|}}}}}
| 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.}}:
}}]]</td><!--
--><td class="infobox-data">{{#switch:{{lc:{{{numbered|¬}}}}}
| ¬
| yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{lang cat|Craft numbered items}}
}}</includeonly>
| no = {{common string|no}}
| #default = {{{numbered|}}}
}}</td>
</tr>
}}
}}<!--
// 'medieval'
-->{{#switch:{{lc:{{{type|}}}}}
| weapon | weapons =
<tr>
<td class="infobox-label">[[Medieval mode{{if lang}}#{{lang
| en = Allowed weapons
}}|{{lang
| en = {{tooltip|Medieval|If the item can be used during Medieval mode.}}:
}}]]</td>
<td class="infobox-data">{{#switch:{{#if:{{{medieval|}}}<!--
// 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:{{{slot|}}}}}
| slot3 | slot 3 | 3 | melee = ¬
| #default = no
}}
}}
| ¬
| yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
| {{ns:0}}<!-- Disable if 'cat' is defined. -->
| {{lang cat|Medieval weapons}}
}}</includeonly>
| no = {{common string|no}}
| #default = {{{medieval|{{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:{{{unused|{{{beta|}}}}}}
| {{ns:0}}<!-- Hide ammunition section on unused weapons. -->
| {{#ifeq:{{lc:{{{type|}}}}} | weapon
| {{#switch:<!--
-->{{#switch:{{lc:{{{slot|}}}}}<!-- // 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 -->
}}{{{show-ammo|{{{ammo-loaded|}}}{{{ammo-carried|}}}}}}
| ¬ | ¬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:{{{show-ammo|{{{ammo-loaded|}}}}}}
| N/A
| ∞
| -
| hide
| off
| none = {{ns:0}}<!-- NULL -->
| #default =
<tr>
<td class="infobox-label">{{lang
| en = Ammo loaded:
}}</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:{{{show-ammo|{{{ammo-carried|}}}}}}
| N/A
| ∞
| -
| hide
| off
| none = {{ns:0}}<!-- NULL -->
| #default =
<tr>
<td class="infobox-label">{{lang
| en = Ammo carried:
}}</td>
<td class="infobox-data">{{{ammo-carried}}}</td>
</tr>
}}
}}{{#if:{{{ammo-type|}}}
| <tr><!--
// 'ammo-type'
--><td class="infobox-label">{{lang
| en = Ammo type:
}}</td><!--
--><td class="infobox-data">{{{ammo-type}}}</td>
</tr>
}}{{#if:{{{reload-type|{{{reload|}}}}}}
| <tr><!--
// 'reload-type'
--><td class="infobox-label">{{lang
| en = Reload type:
}}</td><!--
--><td class="infobox-data">{{{reload-type|{{{reload}}}}}}
</td>
</tr>
}}<!-- End 'reload-type' -->
| {{ns:0}}<!-- NULL: hide ammunition for all types excluding weapons. -->
}}
}}<!-- End ammunition switch.
// Available qualities
---><includeonly>
{{#if:{{{hide-qualities|}}}|{{ns:0}}| <!--
--> {{#if:{{{unused|}}}|{{ns:0}}| <!--
--> {{#if:{{{beta|}}}|{{ns:0}}| <!--
--> {{#switch:{{{game|}}}|tfc = {{ns:0}}|#default =
<tr>
<th class="infobox-header" colspan="2">{{lang
| en = Available Qualities
}}</th>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
{{quality list|item-name={{{qualities-override|{{BASEPAGENAME}}}}}}}
</td>
</tr>
}}}}}}}}
</includeonly><!--end quality
// Loadout Stats
-->{{#switch:{{lc:{{{loadout|¬}}}}}
| no
| ¬ = {{ns:0}}<!-- Hide loadout by default, and if loadout is set to 'no' -->
| #default = <tr>
<th class="infobox-header" colspan="2">{{lang
| en = Loadout Stats
}}</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 = {{{unusual-icon|}}}
| strange-icon = {{{strange-icon|}}}
| stat-icon = {{{stat-icon|}}}
| decal-icon = {{{decal-icon|}}}
| pyroland-icon = {{{pyroland-icon|}}}
| custom-icon = {{{custom-icon|}}}
| quality = {{{quality|Unique}}}
| prefix = {{{prefix|}}}
| suffix = {{{suffix|}}}
| {{#if:{{{rankson|}}}|rankson|void}}={{{rankson|}}}
| {{#if:{{{rankson2|}}}|rankson2|void}}={{{rankson2|}}}
| {{#if:{{{rankson3|}}}|rankson3|void}}={{{rankson3|}}}
| {{#if:{{{rankson4|}}}|rankson4|void}}={{{rankson4|}}}
| {{#if:{{{rankson5|}}}|rankson5|void}}={{{rankson5|}}}
| {{#if:{{{rankson6|}}}|rankson6|void}}={{{rankson6|}}}
| {{#if:{{{rankson7|}}}|rankson7|void}}={{{rankson7|}}}
| {{#if:{{{rankson8|}}}|rankson8|void}}={{{rankson8|}}}
| {{#if:{{{rankson9|}}}|rankson9|void}}={{{rankson9|}}}
| killcount = {{{killcount|0}}}
| killcount2 = {{{killcount2|0}}}
| killcount3 = {{{killcount3|0}}}
| killcount4 = {{{killcount4|0}}}
| killcount5 = {{{killcount5|0}}}
| killcount6 = {{{killcount6|0}}}
| killcount7 = {{{killcount7|0}}}
| killcount8 = {{{killcount8|0}}}
| killcount9 = {{{killcount9|0}}}
| item-name = {{BASEPAGENAME}}
| item-name-local = {{#if:{{{loadout-name|}}}
| {{{loadout-name}}}
| {{#if:{{{name|{{{NAME|{{{title|{{{item-name-override|}}}}}}}}}}}}
| {{{name|{{{NAME|{{{title|{{{item-name-override|}}}}}}}}}}}}
| {{#if:{{{loadout-prefix|{{{hide-loadout-prefix|}}}}}}
| {{ns:0}}<!-- Set hide-loadout-prefix to anything to skip this. -->
| {{if lang
| en = {{#switch:{{lc:{{{type|}}}}}
| 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:{{{quality|}}}}}
| | unique = The {{BASEPAGENAME}}
| #default = {{BASEPAGENAME}}
}}
}}
| non-en = {{item name|{{BASEPAGENAME}}}}<!-- Ignore this for non-English pages. -->
}}
}}
}}
}}
| limited = {{{limited|no}}}
| {{#if:{{{grade|}}}|grade|null}} = {{{grade}}}
| {{#if:{{{wear|}}}|wear|null}} = {{{wear}}}
| {{#if:{{{unusual-effect|}}}|unusual-effect|null}} = {{{unusual-effect}}}
| {{#if:{{{item-kind|}}}|item-kind|null}} = {{{item-kind}}}
| {{#if:{{{level|}}}|item-level|null}} = {{#if:{{{level|}}}
| {{{level}}}
| {{#switch:{{lc:{{{type|}}}}}
| cosmetic | hats | head | headwear | hat = {{lang
| en = Level 1–100 Hat
}}
| #default = {{lang
| en = Level 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 = {{{att-1-positive|}}}
| att-1-negative = {{{att-1-negative|}}}
| att-1-neutral = {{#if:{{{att-1-neutral|}}}
| {{{att-1-neutral|}}}
| {{#switch:{{lc:{{{type|}}}}}
| weapon
| weapons = {{{neutral-attributes|}}}
| #default = {{ns:0}}<!-- NULL -->
}}
}}
| att-2-positive = {{{att-2-positive|{{{positive-attributes|}}}}}}
| att-2-negative = {{{att-2-negative|}}}
| att-2-neutral = {{{att-2-neutral|}}}
| att-3-positive = {{{att-3-positive|}}}
| att-3-negative = {{{att-3-negative|{{{negative-attributes|}}}}}}
| att-3-neutral = {{{att-3-neutral|}}}
| att-4-positive = {{{att-4-positive|}}}
| att-4-negative = {{{att-4-negative|}}}
| att-4-neutral = {{{att-4-neutral|}}}
| att-5-positive = {{{att-5-positive|}}}
| att-5-negative = {{{att-5-negative|}}}
| att-5-neutral = {{{att-5-neutral|}}}
| att-6-positive = {{{att-6-positive|}}}
| att-6-negative = {{{att-6-negative|}}}
| att-6-neutral = {{{att-6-neutral|}}}
| att-7-positive = {{{att-7-positive|}}}
| att-7-negative = {{{att-7-negative|}}}
| att-7-neutral = {{{att-7-neutral|}}}
| att-8-positive = {{{att-8-positive|}}}
| att-8-negative = {{{att-8-negative|}}}
| att-8-neutral = {{{att-8-neutral|}}}
| item-description = {{#if:{{{item-description|}}}
| {{{item-description|}}}
| {{#switch:{{lc:{{{type|}}}}}
| cosmetic
| hats
| head
| hat
| headwear = {{{neutral-attributes|}}}
| #default = {{ns:0}}<!-- NULL -->
}}
}}
| item-expiration = {{{item-expiration|}}}
| item-uses = {{{item-uses|}}}
| item-flags = {{{item-flags|}}}
}}
</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:{{{DISPLAYTITLE|{{{displaytitle|}}}}}} | off
| {{ns:0}}<!-- Ignore if 'displaytitle' has been set to 'off'. -->
| {{#if:{{{name|}}}
| {{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|{{{name|}}}}}}}}}}}
| {{if lang| non-en = {{DISPLAYTITLE:{{item name|{{BASEPAGENAME}}}}}}| en = {{ns:0}}}}<!-- Ignore if 'name' isn't defined (majority of English pages). -->
}}
}}<!--
// Begin categorization.
--><includeonly>{{#if:{{{cat|}}}
| {{ns:0}}<!-- NULL: if 'cat' is defined. -->
| {{#switch:{{lc:{{{game|}}}}}
| tfc = {{#switch:{{lc:{{{type|}}}}}
| weapon | weapons = {{lang cat|Weapons (Classic)}}
}}
| #default = {{#switch:{{lc:{{{type|}}}}}
| weapons
| weapon = {{#if:{{{unused|{{{beta|}}}}}}
| {{ns:0}}<!-- Only real weapons should be placed in Category:Weapons -->
| {{lang cat|Weapons}}
}}<!--
--><!--
// Categorize by slot (excluding taunt kills)
-->{{#if:{{{unused|{{{beta|{{{custom-slot|}}}}}}}}}
| {{ns:0}}<!-- Remove slot categorization for unused items, or items with custom slots. -->
| {{#switch:{{lc:{{{type|}}}}}
| taunt | tauntkill | taunt-kill = {{ns:0}}<!-- Don't place these slot categories on taunt pages. -->
| #default = {{#switch:{{lc:{{{slot|}}}}}
| 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:{{{type|}}}}}
| cosmetic
| hats
| head
| headwear
| hat
| misc item
| misc.
| misc
| misc. item
| miscellaneous
| miscellaneous item
| weapon
| weapons = {{#if: {{{contributed-by|}}}|{{ns:0}}|{{#ifeq: {{lc:{{{game|}}}}}|tfc|{{ns:0}}|{{lang cat|Valve-made items|sort={{ucfirst:{{{type|-}}}}} {{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:{{{type|}}}||<!--
--><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:{{{type|}}}}}
| 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:{{{slot|}}}|invalid|<!--
-->[[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]<!--
-->|}}<!--
// 'loadout-name' and 'loadout-prefix' usage.
-->{{#if:{{{loadout-name|}}}
| [[Category:Item infobox using 'loadout-name'|{{BASEPAGENAME}} {{SUBPAGENAME}}]]
}}{{#if:{{{loadout-prefix|}}}
| [[Category:Item infobox using 'loadout-prefix'|{{BASEPAGENAME}} {{SUBPAGENAME}}]]
}}<!--
// Maintenance tracking.
[[Category:Item infobox usage|{{if lang|en= {{BASEPAGENAME}}|non-en={{SUBPAGENAME}} {{BASEPAGENAME}}}}]]
<table class="backpackinfobox" style="float:right; width:290px;">
<tr>
<td class="content imagecell" colspan="12">[[File:Item icon Disciplinary Action.png|250px]]</td>
</tr>
<tr style="-webkit-transform: rotate(-0.0000000001deg);"><!-- Chrome-only fix -->
<td colspan="12" style="text-align: center; padding:20px; height:auto;" class="hasbackground"><span class="qua_unique item_name">The Disciplinary Action</span><br><!--
--><span class="att_level">Level 10 Riding Crop</span><br><!--
--><span class="att_positive">On hit ally: boosts both players' speed for 1 sec</span><br><!--
--><span class="att_negative">-25% damage penalty</span></td>
</tr>
<tr>
<th class="content" colspan="6" style="text-align: center;">{{icon class|Soldier|30px|extra=middle}} Soldier</th>
<th class="content" colspan="6" style="text-align: center;">Melee</th>
</tr>
<tr>
<td class="killicon" colspan="6">[[File:Killicon disciplinary action.png]]</td>
<td class="content" colspan="6">[[File:Crosshair small circle.png]]</td>
</tr>
<tr>
<th class="content redimg" colspan="6">[[File:RedBonk.png|100x100px]]</th>
<th class="content bluimg" colspan="6">[[File:BluBonk.png|100x100px]]</th>
</tr>
<tr style="line-height: 120%; font-size:100%;">
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Drop</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Craft</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Purchase</small></td>
<td class="content flagcell flagcellfalse" colspan="3"><span class="flagfalse">✘</span><br/><small>Uncrate</small></td>
</tr>
<tr style="line-height: 120%; font-size:100%;">
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Name</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Describe</small></td>
<td class="content flagcell flagcellfalse" colspan="3"><span class="flagfalse">✘</span><br/><small>Paint</small></td>
<td class="content flagcell flagcellfalse" colspan="3"><span class="flagfalse">✘</span><br/><small>Style</small></td>
</tr>
<tr style="line-height: 120%; font-size:100%;">
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Trade</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Gift</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Numbered</small></td>
<td class="content flagcell flagcelltrue" colspan="3"><span class="flagtrue">✔</span><br/><small>Community</small></td>
</tr>
<tr style="line-height:120%; font-size:100%;">
<th colspan="12" class="plainlinks content">Contributed by [http://optf2.com/item/69195796 Swizzle]</th>
</tr>
<tr style="line-height:120%; font-size:100%;">
<th colspan="12" class="plainlinks content">''Portal 2'' pre-order promotion</th>
</tr>
<tr style="line-height:120%; font-size:100%;">
<th colspan="12" class="plainlinks content">Released on [[July 1, 2011 Patch|July 1, 2011]]</th>
</tr>
<tr style="line-height: 120%;">
<td class="content item_name" style="display:none;height:20px;font-size:1.25em;border-left:8px solid #B2B2B2; background-color:#5a5856;" colspan="6">[[Item quality#Stock|<font color="#EBE2CA">Stock</font>]]</td>
<td class="content item_name" style="height:20px;font-size:1.25em;border-left:8px solid #FFD700; background-color:#796502;" colspan="6">[[Item quality#Unique|<font color="#EBE2CA">Unique</font>]]</td>
</tr>
</table>