Template:Town Infobox: Difference between revisions

Template page
(Created page with "<noinclude><!-- Translators: make changes here, but please condense them into one edit. NOTE: The coding of this template is quite complicated and may be difficult to comp...")
 
No edit summary
Tag: 2017 source edit
 
(62 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><!--  
{{Infobox
|bodyclass = mw-collapsible floatright
|image1 = [[File:{{{image|Soon.png}}}|325px|center]]
|imagerowclass1 = infobox-image


Translators: make changes here, but please condense them into one edit.
|header2 = {{{name|}}}
|rowclass2 = infobox-title


NOTE:
|label3 = {{#if: {{{founded|}}} | Founded }}
|data3 = {{{founded|}}}
|rowclass3 = infobox-data infobox-col2


The coding of this template is quite complicated and may be difficult to comprehend unless you have an advanced understanding of template and ParserFunctions syntax. As it is also used on over 15,000 pages (around 50% of all articles), it is advised that you take care when editing it. Please do not make significant changes without discussing it first on the talk page. If you want to test changes to this template, please do so on its sandbox page: Template:Item infobox/sandbox.
|label4 = {{#if: {{{mayor|}}} | Mayor }}
|data4 = {{{mayor|}}}
|rowclass4 = infobox-data infobox-col2


If you need help editing this template, please post on the talk page.
|label5 = {{#if: {{{population|}}} | Population }}
|data5 = {{{population|}}}
|rowclass5 = infobox-data infobox-col2


--></noinclude>{{#switch: {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | error | normal}} | normal}}
|label6 = {{#if: {{{status|}}} | Status }}
| 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>
|data6 = {{{status|}}}
| normal | #default = <!--
|rowclass6 = infobox-data infobox-col1


--><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;}}">
|label7 = {{#if: {{{keypeople|}}} | Key People }}
<tr>
|data7 = {{{keypeople|}}}
  <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>
|rowclass7 = infobox-data infobox-col1
  </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
|header20 = {{#if: {{{coordinates|}}}{{{path|}}} | Location }}
|rowclass20 = infobox-header


-->{{#if:{{{image|}}}{{{team-colors|{{{two-models|}}}}}}
|label21 = {{#if: {{{coordinates|}}} | Coordinates }}
| <tr>
|data21 = {{{coordinates|}}}
    <td colspan="2" style="padding:0em;"><!--
|rowclass21 = infobox-data infobox-col2
    -->{{#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|{{common string|RED}}}}}
                          |view2={{{view2|{{BASEPAGENAME}} BLU 3D.jpg}}}
                          |view2name={{{view2name|{{common string|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|{{common string|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
|label22 = {{#if: {{{coordinates|}}}{{{path|}}} | World}}
|data22 = {{{world|}}}
|rowclass22 = infobox-data infobox-col2


-->{{#switch:{{{price|{{{item price|{{{show-price|¬}}}}}}}}}
|label23 = {{#if: {{{path|}}} | Nether Path}}
| ¬ = {{#ifexist:Template:Dictionary/price/{{lc:{{{displayed-price|{{BASEPAGENAME}}}}}}}
|data23 = {{{path|}}}
  |<!--
|rowclass23 = infobox-data infobox-col1
--><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
|header30 = {{#if: {{{dynmap|}}}{{{discord|}}} | Links}}
|rowclass30 = infobox-header


  // 'View Listings' button
|label31 = {{#if: {{{dynmap|}}}|[{{{dynmap}}} Dynmap]}}
|data31 = {{#if: {{{dynmap|}}}|&nbsp;}}
|rowclass31 = infobox-data infobox-col2


-->{{#ifeq:{{{marketable|}}}|yes|<!--
|label32 = {{#if: {{{discord|}}}|[{{{discord}}} Discord Server]}}
--><tr><td colspan="2" class="infobox-data" style="text-align:center">{{Buy now Market|{{lc:{{BASEPAGENAME}}}}}}</td></tr>
|data32 = {{#if: {{{discord|}}}|&nbsp;}}
}}<!--  
|rowclass32 = infobox-data infobox-col2


  // End 'View Listings' button
|data33 = {{#if: {{{dynmap|}}}{{{discord|}}} || &nbsp; }}


  // Team-colored images
}}<noinclude>
 
{{clear}}
-->{{#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;">'''{{{team-colors-class1-name|{{#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;">'''{{{team-colors-class2-name|{{#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;">'''{{{team-colors-class3-name|{{#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;">'''{{{team-colors-class4-name|{{#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;">'''{{{team-colors-class5-name|{{#ifeq: {{{team-colors-class5}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class5}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class5}}}|other||_{{{team-colors-class5}}}}}.png|95x95px]]</td>
  </tr>{{#if: {{{team-colors-class6|}}}
  | <td colspan="2" style="padding:none;">
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class6-name|{{#ifeq: {{{team-colors-class6}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class6}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class6}}}|other||_{{{team-colors-class6}}}}}.png|95x95px]]</td>
  </tr>{{#if: {{{team-colors-class7|}}}
  | <td colspan="2" style="padding:none;">
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class7-name|{{#ifeq: {{{team-colors-class7}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class7}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class7}}}|other||_{{{team-colors-class7}}}}}.png|95x95px]]</td>
  </tr>{{#if: {{{team-colors-class8|}}}
  | <td colspan="2" style="padding:none;">
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class8-name|{{#ifeq: {{{team-colors-class8}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class8}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class8}}}|other||_{{{team-colors-class8}}}}}.png|95x95px]]</td>
  </tr>{{#if: {{{team-colors-class9|}}}
  | <td colspan="2" style="padding:none;">
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class9-name|{{#ifeq: {{{team-colors-class9}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class9}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class9}}}|other||_{{{team-colors-class9}}}}}.png|95x95px]]</td>
  </tr>{{#if: {{{team-colors-class10|}}}
  | <td colspan="2" style="padding:none;">
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class10-name|{{#ifeq: {{{team-colors-class10}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class10}}}}}}}}}}'''</td>
      </table>
    </td>
  <tr>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class10}}}|other||_{{{team-colors-class10}}}}}.png|95x95px]]</td>
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class10}}}|other||_{{{team-colors-class10}}}}}.png|95x95px]]</td>
  </tr>}} }} }} }} }} }} }} }} }}
  | <tr>
    <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}}]]<!--
    -->&nbsp;[[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}}]]<!--
    -->&nbsp;[[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
  | ar = كيل أيكون
  | cs = {{#if:{{{kill-icon-2|}}}|Ikony při zabití|Ikona při zabití}}
  | da = {{#if:{{{kill-icon-2|}}}|Drabsikoner|Drabsikon}}
  | de = {{#if:{{{kill-icon-2|}}}|Tötungsbilder|Tötungsbild}}
  | es = {{#if:{{{kill-icon-2|}}}|Iconos de muerte|Icono de muerte}}
  | en = {{#if:{{{kill-icon-2|}}}|Kill Icons|Kill Icon}}
  | fi = {{#if:{{{kill-icon-2|}}}|Tappokuvakkeet|Tappokuvake}}
  | fr = {{#if:{{{kill-icon-2|}}}|Icônes de Frag|Icône de Frag}}
  | hu = {{#if:{{{kill-icon-2|}}}|Ölési ikonok|Ölési ikon}}
  | it = {{#if:{{{kill-icon-2|}}}|Icone|Icona}} di Morte
  | ja = {{#if:{{{kill-icon-2|}}}|キルアイコン|キルアイコン}}
  | ko = {{#if:{{{kill-icon-2|}}}|처치 표시|처치 표시}}
  | nl = {{#if:{{{kill-icon-2|}}}|Doodsicoons|Doodsicoon}}
  | no = {{#if:{{{kill-icon-2|}}}|Draps Ikons|Draps Ikon}}
  | pl = {{#if:{{{kill-icon-2|}}}|Ikony zabicia|Ikona zabicia}}
  | pt = {{#if:{{{kill-icon-2|}}}|Ícones|Ícone}} de Morte
  | pt-br = {{#if:{{{kill-icon-2|}}}|Ícones|Ícone}} de morte
  | ro = {{#if:{{{kill-icon-2|}}}|Pictograme|Pictogramă}}
  | ru = {{#if:{{{kill-icon-2|}}}|Иконки убийств|Иконка убийства}}
  | sv = {{#if:{{{kill-icon-2|}}}|Dödsikoner|Dödsikon}}
  | tr = {{#if:{{{kill-icon-2|}}}|Öldürme Simgeleri|Öldürme Simgesi}}
  | zh-hans = 杀敌图示
  | zh-hant = 殺人圖示
  }}
</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
  | ar = معلومات أساسية
  | cs = Základní informace
  | da = Information
  | de = Informationen
  | en = Basic Information
  | 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:{{{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
  | 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>{{{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
  | 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:{{{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
        | ar = قنابل
        | cs = Granáty
        | de = Granaten
        | es = Granadas
        | fr = Grenades
        | hu = Gránátok
        | ja = グレネード
        | ko = 유탄
        | pl = Granaty
        | pt = Granadas
        | pt-br = Granadas
        | ru = Гранаты
        | sv = Granater
        | tr = Bombalar
        | zh-hans = 手雷/榴弹
        | zh-hant = 手榴彈
        | #default = <!-- No section link -->
      }}{{!}}{{Item name|Grenade}}]]|[[Weapons{{#if:{{{game|}}}|&nbsp;(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|&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 = {{{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
  | ar = ساهم بها:
  | cs = Přispěl:
  | da = Bidraget af:
  | de = Eingesendet von:
  | en = Contributed by:
  | es = Creado por:
  | fi = Tekijä▲:
  | 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><!--
  --><includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
    | {{ns:0}}<!-- Disable if 'cat' is defined. -->
    | {{lang cat|Community-contributed items|sort={{ucfirst:{{{type|-}}}}}&#32;{{BASEPAGENAME}}}}
    }}</includeonly>
  </tr>
}}{{#if:{{{released|}}}
| <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">{{{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 or gift 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 można wymieniać?}}:
  | 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:{{{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:{{{trade|}}}}}|no|{{ns:0}}<!-- NULL: can't gift untradable items -->
| <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żna zapakować 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:{{BASEPAGENAME}}
| Gift Wrap
| Giftapult
| Description Tag = {{common string|no}}
| #default = {{common string|yes}}
}}</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
  | 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:{{{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
  | 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:{{{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
  | 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 można zmienić nazwę przedmiotu?}}:
  | 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:{{{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.}}:
  | 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:{{{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
  | 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 Średniowieczu?}}:
    | 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:{{{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
    | 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:{{{show-ammo|{{{ammo-carried|}}}}}}
  | 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:{{{ammo-type|}}}
| <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:{{{reload-type|{{{reload|}}}}}}
| <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-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
    | 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
    | nl = Verkrijgbare kwaliteiten
    | 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={{{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
    | 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 = {{{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}}}
  | grade = {{{grade|}}}
  | wear = {{{wear|}}}
  | unusual-effect = {{{unusual-effect|}}}
  | item-kind = {{{item-kind|}}}
  | {{#if:{{{level|}}}|item-level|void}} = {{{level|}}}
  | no-level = {{{no-level}}}
 
  | att-1-positive = {{{att-1-positive|}}}
  | att-1-negative = {{{att-1-negative|}}}
  | att-1-neutral = {{{att-1-neutral|}}}
 
  | att-2-positive = {{{att-2-positive|}}}
  | att-2-negative = {{{att-2-negative|}}}
  | att-2-neutral = {{{att-2-neutral|}}}
 
  | att-3-positive = {{{att-3-positive|}}}
  | att-3-negative = {{{att-3-negative|}}}
  | 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 = {{{item-description|}}}
| 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|-}}}}}&#32;{{BASEPAGENAME}}}}}}}}
}}
}}
{{#ifeq:{{{limited|}}}|yes|{{lang cat|Limited items}}}}<!--
 
  // 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=&#32;{{BASEPAGENAME}}|non-en={{SUBPAGENAME}}&#32;{{BASEPAGENAME}}}}]]<!--
 
--></includeonly><!--
--><noinclude><!-- // END TEMPLATE. -->
{{clr}}
{{Complex template}}
{{translation switching|en, de, es, fr, hu, ja, ko, pl, ru, sv, tr, zh-hans}}
{{Ambox
| type    = style
| image    = Warning_yellow.png
| contents = This template <strong>must not</strong> be used on user pages. Please use [[Template:User item infobox]] instead.
}}
{{documentation}}
{{documentation}}
[[Category:Infobox templates|Town infobox]]
[[Category:Minecraft templates]]
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "Image of the town",
"type": "wiki-file-name",
"suggested": true
},
"name": {
"label": "Name",
"description": "Name of the town",
"required": true,
"suggested": true,
"example": "Genericville",
"type": "string"
},
"founded": {
"label": "Founded",
"description": "Date the town was founded",
"type": "date",
"suggested": true
},
"mayor": {
"description": "Current mayor of the town",
"type": "string",
"label": "Mayor",
"example": "NotKatuen"
},
"population": {
"label": "Population",
"description": "Current population of the town",
"type": "number"
},
"status": {
"label": "Status",
"description": "Activity status of the town",
"example": "Inactive",
"type": "string"
},
"coordinates": {
"label": "Coordinates",
"description": "X/Z Coordinates of the town's location",
"suggested": true,
"example": "6969,420",
"type": "string"
},
"world": {
"label": "World",
"description": "Name of the world the town is located in",
"example": "Overworld",
"type": "string",
"default": "Overworld"
},
"path": {
"label": "Nether path",
"description": "Details for finding the town in the nether.",
"example": "Blue path, Diorite block",
"type": "string",
"suggested": true
},
"dynmap": {
"label": "Dynmap Link",
"description": "URL for the dynmap view of the town",
"example": "https://minecraft.rtgame.co.uk/map/survival/#world;flat;-784,64,1413;3",
"type": "url",
"suggested": true
},
"discord": {
"label": "Discord Server",
"description": "Link to the Discord Server related to the town, if you absolutely need to have one. Please be sensible and ensure the link doesn't expire.",
"type": "url"
},
"keypeople": {
"label": "Key People",
"description": "Noteworthy individuals who are involved in the Town's creation or ongoing activities.",
"type": "string"
}
},
"description": "Outputs an infobox for a Minecraft server town",
"paramOrder": [
"name",
"image",
"coordinates",
"world",
"dynmap",
"founded",
"mayor",
"keypeople",
"population",
"status",
"path",
"discord"
],
"format": "block"
}
</templatedata></noinclude>

Latest revision as of 20:37, 7 May 2021

Soon.png
 
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Town Infobox/doc. Changes can be proposed in the talk page.

Outputs an infobox for a Minecraft server town

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the town

Example
Genericville
Stringrequired
Imageimage

Image of the town

Filesuggested
Coordinatescoordinates

X/Z Coordinates of the town's location

Example
6969,420
Stringsuggested
Worldworld

Name of the world the town is located in

Default
Overworld
Example
Overworld
Stringoptional
Dynmap Linkdynmap

URL for the dynmap view of the town

Example
https://minecraft.rtgame.co.uk/map/survival/#world;flat;-784,64,1413;3
URLsuggested
Foundedfounded

Date the town was founded

Datesuggested
Mayormayor

Current mayor of the town

Example
NotKatuen
Stringoptional
Key Peoplekeypeople

Noteworthy individuals who are involved in the Town's creation or ongoing activities.

Stringoptional
Populationpopulation

Current population of the town

Numberoptional
Statusstatus

Activity status of the town

Example
Inactive
Stringoptional
Nether pathpath

Details for finding the town in the nether.

Example
Blue path, Diorite block
Stringsuggested
Discord Serverdiscord

Link to the Discord Server related to the town, if you absolutely need to have one. Please be sensible and ensure the link doesn't expire.

URLoptional