Difference between revisions of "User:Gabrielwoj/Sandbox2"
Gabrielwoj (talk | contribs) m (Using this as a "link" to the other page is a bad idea and will cause future issues if I keep so.) |
Gabrielwoj (talk | contribs) m (Testing compatibility for up to 27 team-colors images, for the Boarder's Beanie article.) |
||
Line 1: | Line 1: | ||
− | + | <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 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. | |
− | + | ||
− | + | If you need help editing this template, please post on the talk page. | |
− | + | ||
− | < | + | --></noinclude>{{#switch: {{#ifeq: {{NAMESPACE}} | User | {{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}} | error | normal}} | normal}} |
+ | | 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> | ||
+ | | normal | #default = <!-- | ||
+ | |||
+ | --><div id="right-sidebar"><table class="infobox item-infobox {{{type|item}}}-{{#ifeq:{{lc:{{{game|}}}}}|tfc|tfc-}}infobox" style="width:300px; max-width:300px; {{lang 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|{{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 | ||
+ | |||
+ | -->{{#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 | ||
+ | |||
+ | // 'View Listings' button | ||
+ | |||
+ | -->{{#ifeq:{{{marketable|}}}|yes|<!-- | ||
+ | --><tr><td colspan="2" class="infobox-data" style="text-align:center">{{Buy now Market|{{lc:{{BASEPAGENAME}}}}}}</td></tr> | ||
+ | }}<!-- | ||
+ | |||
+ | // End 'View Listings' button | ||
+ | |||
+ | // Team-colored images | ||
+ | |||
+ | -->{{#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 | special taunt | ||
+ | | action | action item | ||
+ | | hat | ||
+ | | misc. item | ||
+ | | misc item | ||
+ | | misc | ||
+ | | tool = | ||
+ | <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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|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|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class11|}}} | ||
+ | | <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-class11-name|{{#ifeq: {{{team-colors-class11}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class11}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class11}}}|other||_{{{team-colors-class11}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class11}}}|other||_{{{team-colors-class11}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class12|}}} | ||
+ | | <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-class12-name|{{#ifeq: {{{team-colors-class12}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class12}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class12}}}|other||_{{{team-colors-class12}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class12}}}|other||_{{{team-colors-class12}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class13|}}} | ||
+ | | <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-class13-name|{{#ifeq: {{{team-colors-class13}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class13}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class13}}}|other||_{{{team-colors-class13}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class13}}}|other||_{{{team-colors-class13}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class14|}}} | ||
+ | | <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-class14-name|{{#ifeq: {{{team-colors-class14}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class14}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class14}}}|other||_{{{team-colors-class14}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class14}}}|other||_{{{team-colors-class14}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class15|}}} | ||
+ | | <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-class15-name|{{#ifeq: {{{team-colors-class15}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class15}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class15}}}|other||_{{{team-colors-class15}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class15}}}|other||_{{{team-colors-class15}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class16|}}} | ||
+ | | <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-class16-name|{{#ifeq: {{{team-colors-class16}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class16}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class16}}}|other||_{{{team-colors-class16}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class16}}}|other||_{{{team-colors-class16}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class17|}}} | ||
+ | | <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-class17-name|{{#ifeq: {{{team-colors-class17}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class17}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class17}}}|other||_{{{team-colors-class17}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class17}}}|other||_{{{team-colors-class17}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class18|}}} | ||
+ | | <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-class18-name|{{#ifeq: {{{team-colors-class18}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class18}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class18}}}|other||_{{{team-colors-class18}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class18}}}|other||_{{{team-colors-class18}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class19|}}} | ||
+ | | <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-class19-name|{{#ifeq: {{{team-colors-class19}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class19}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class19}}}|other||_{{{team-colors-class19}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class19}}}|other||_{{{team-colors-class19}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class20|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class20}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class21|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class21}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class22|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class22}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class23|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class23}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class24|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class24}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class25|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class25}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class26|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class26}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>{{#if: {{{team-colors-class27|}}} | ||
+ | | <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-class20-name|{{#ifeq: {{{team-colors-class20}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class27}}}}}}}}}}'''</td> | ||
+ | </table> | ||
+ | </td> | ||
+ | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | </tr>}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} | ||
+ | | <tr> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{team-colors-width|95x95px}}}]]</td> | ||
+ | <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-blu|BLU {{BASEPAGENAME}}.png}}}|{{{team-colors-width|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}} | ||
+ | | 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}} | ||
+ | | 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|}}}|Drapsikoner|Drapsikon}} | ||
+ | | 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 | ||
+ | | en = Basic Information | ||
+ | | ar = معلومات أساسية | ||
+ | | cs = Základní informace | ||
+ | | da = Information | ||
+ | | de = Informationen | ||
+ | | 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 | ingredient = {{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: | ||
+ | | ar = يلبسها: | ||
+ | | cs = Používá: | ||
+ | | da = Båret af: | ||
+ | | de = Getragen von: | ||
+ | | 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 | ingredient = {{ns:0}} | ||
+ | | #default = <tr> | ||
+ | <td class="infobox-label">{{lang | ||
+ | | en = Slot: | ||
+ | | ar = وضع | ||
+ | | cs = Slot: | ||
+ | | da = Position: | ||
+ | | de = Position: | ||
+ | | es = Espacio: | ||
+ | | fr = Emplacement : | ||
+ | | fi = Paikka: | ||
+ | | hu = Hely: | ||
+ | | it = Slot: | ||
+ | | ja = スロット: | ||
+ | | ko = 아이템 유형: | ||
+ | | nl = Positie: | ||
+ | | no = Spalte: | ||
+ | | pl = Slot: | ||
+ | | pt = Tipo: | ||
+ | | 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 = 유탄 | ||
+ | | nl = Granaten | ||
+ | | pl = Granaty | ||
+ | | pt = Granadas | ||
+ | | pt-br = Granadas | ||
+ | | ro = Grenade | ||
+ | | ru = Гранаты | ||
+ | | sv = Granater | ||
+ | | tr = Bombalar | ||
+ | | zh-hans = 手雷/榴弹 | ||
+ | | zh-hant = 手榴彈 | ||
+ | | #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| ([[Taunts{{if lang}}|{{common string|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}}]] | ||
+ | | special taunt = [[Taunts{{if lang}}#{{Item name|Special taunts}}|{{Item name|Taunt}}]] | ||
+ | | #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">[[Equip region{{if lang}}|{{common string|Equip region}}]]:</td><td class="infobox-data">{{item name | ||
+ | | er {{#switch:{{lc:{{{type|}}}}} | ||
+ | | cosmetic = {{lc:{{{equip-region|hat}}}}} | ||
+ | | #default = {{lc:{{{equip-region|error}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{equip-region-2|}}} | ||
+ | |{{#switch:{{SUBPAGENAME}}|ja=、|zh-hans=、|zh-hant=、|#default=, }}{{item name|er {{lc: {{{equip-region-2|}}} }} }}<!-- | ||
+ | -->{{#if:{{{equip-region-3|}}} | ||
+ | |{{#switch:{{SUBPAGENAME}}|ja=、|zh-hans=、|zh-hant=、|#default=, }}{{item name|er {{lc: {{{equip-region-3|}}} }} }}<!-- | ||
+ | -->{{#if:{{{equip-region-4|}}} | ||
+ | |{{#switch:{{SUBPAGENAME}}|ja=、|zh-hans=、|zh-hant=、|#default=, }}{{item name|er {{lc: {{{equip-region-4|}}} }} }}<!-- | ||
+ | -->{{#if:{{{equip-region-5|}}} | ||
+ | |{{#switch:{{SUBPAGENAME}}|ja=、|zh-hans=、|zh-hant=、|#default=, }}{{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: | ||
+ | | ar = ساهم بها: | ||
+ | | cs = Přispěl: | ||
+ | | da = Bidraget af: | ||
+ | | de = Eingesendet von: | ||
+ | | 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 = Creat de: | ||
+ | | 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|-}}}}} {{BASEPAGENAME}}}} | ||
+ | }}</includeonly> | ||
+ | </tr> | ||
+ | }}{{#if:{{{released|}}} | ||
+ | | <tr><!-- | ||
+ | |||
+ | // 'released' (optional) | ||
+ | |||
+ | --><td class="infobox-label">{{lang | ||
+ | | en = Released: | ||
+ | | ar = أصدرت | ||
+ | | cs = Vydáno v: | ||
+ | | da = Udgivet: | ||
+ | | de = Erschienen: | ||
+ | | 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 = Adicionado em: | ||
+ | | ro = Lansat: | ||
+ | | ru = Выпущено: | ||
+ | | sv = Släppt: | ||
+ | | tr = Yayımlanma: | ||
+ | | zh-hans = 发布时间: | ||
+ | | zh-hant = 釋出時間: | ||
+ | }}</td><!-- | ||
+ | --><td class="infobox-data">{{#if: {{{released-major|}}} | ||
+ | | <!-- | ||
+ | // 'released-major' (optional) | ||
+ | // Always a "patch name" (eg.: 'Summer 2020 Update'). Defaults to {{{released}}} if not set. WindBOT should sync this information automagically. | ||
+ | -->{{lang incomplete | ||
+ | | en = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | | ar = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | | ja = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | | ro = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | | zh-hans = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | | zh-hant = {{{released}}}<br>({{update link|{{{released-major}}}}}) | ||
+ | }} | ||
+ | | {{{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 | ||
+ | | en = {{tooltip|Tradable|If the item is usable in Trading.}}: | ||
+ | | 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.}}: | ||
+ | | es = {{tooltip|Intercambiable|Si el objeto puede ser usado en el Intercambio.}}: | ||
+ | | 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.}}: | ||
+ | | ro = {{tooltip|Dat la schimb|Dacă obiectul poate fi dat la schimb.}}: | ||
+ | | 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 com um embrulho para presente.}}: | ||
+ | | ro = {{tooltip|Împachetabil|Dacă acest obiect poate fi împachetat.}}: | ||
+ | | 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>}}}} | ||
+ | {{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't craft these --> | ||
+ | | <tr><!-- | ||
+ | |||
+ | // 'craft' | ||
+ | |||
+ | --><td class="infobox-label">[[Crafting{{if lang}}|{{lang | ||
+ | | en = {{tooltip|Craftable|If the item is usable in Crafting.}}: | ||
+ | | 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.}}: | ||
+ | | es = {{tooltip|Fabricable|Si el objeto puede ser usado en la Fabricación.}}: | ||
+ | | 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 usado no Fabrico.}}: | ||
+ | | pt-br = {{tooltip|Fabricável|Se este item pode ser usado na fabricação.}}: | ||
+ | | ro = {{tooltip|Fabricabil|Dacă acest obiect poate fi folosit în fabricare.}}: | ||
+ | | 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 | ||
+ | | en = {{tooltip|Paintable|If the item can be painted using the Paint Can.}}: | ||
+ | | 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.}}: | ||
+ | | es = {{tooltip|Pintable|Si el objeto puede pintarse usando un 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 com uma lata de tinta.}}: | ||
+ | | ro = {{tooltip|Vopsibil|Dacă acest obiect poate fi vopsit folosind un Paint Can.}}: | ||
+ | | 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 | ||
+ | | special 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.}}: | ||
+ | | 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.}}: | ||
+ | | 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|Nomeá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 com uma etiqueta de nome.}}: | ||
+ | | ro = {{tooltip|Redenumit|Dacă acest obiect poate fi redenumit folosind un Name Tag.}}: | ||
+ | | 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 | special 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.}}: | ||
+ | | 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.}}: | ||
+ | | da = {{tooltip|Smedenummer?|Om genstanden kan have et smedenummer.}}: | ||
+ | | de = {{tooltip|Herstellungs-Nr.?|Ob der Gegenstand eine Herstellungs-Nummer haben kann.}}: | ||
+ | | es = {{tooltip|Numeración|Si el objeto puede tener un número de fabricación.}}: | ||
+ | | 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?}}: | ||
+ | | 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.}}: | ||
+ | | ro = {{tooltip|Număr?|Dacă obiectul poate avea un număr de fabricare.}}: | ||
+ | | ru = {{tooltip|Номер ковки|Может ли предмет иметь номер ковки.}}: | ||
+ | | sv = {{tooltip|Tillverkningsnr.?|Om föremålet har ett Tillverkningsnummer.}}: | ||
+ | | tr = {{tooltip|İşleme No.?|Eğer eşyanın bir işleme numarası varsa.}}: | ||
+ | | zh-hans = {{tooltip|合成编号|此物品是否拥有合成编号}}: | ||
+ | | zh-hant = {{tooltip|合成編號|該項目是否有合成編號。}}: | ||
+ | }}]]</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 | ||
+ | | cs = Povolené zbraně | ||
+ | | da = Tilladte våben | ||
+ | | de = Erlaubte Waffen | ||
+ | | es = Armas permitidas | ||
+ | | fi = Sallitut aseet | ||
+ | | 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 | ||
+ | | ro = Arme permise | ||
+ | | ru = Допускается оружие | ||
+ | | sv = Tillåtna vapen | ||
+ | | tr = İzin verilen silahlar | ||
+ | | zh-hans = 可用武器 | ||
+ | }}|{{lang | ||
+ | | en = {{tooltip|Medieval|If the item can be used during Medieval mode.}}: | ||
+ | | 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.}}: | ||
+ | | 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|Dacă obiectul poate fi folosit î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ılabilip 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 step 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 step 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: | ||
+ | | ar = الذخائر المخزنة: | ||
+ | | cs = Nábojů v zásobníku: | ||
+ | | da = Ammo ladt: | ||
+ | | de = Magazingröße: | ||
+ | | 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 în magazie: | ||
+ | | ru = Наготове: | ||
+ | | sv = Ammunition laddad: | ||
+ | | tr = Şarjör: | ||
+ | | zh-hans = 装弹量: | ||
+ | | zh-hant = 彈藥上膛數量: | ||
+ | }}</td> | ||
+ | <td class="infobox-data">{{{ammo-loaded}}}</td> | ||
+ | </tr> | ||
+ | }}<!-- | ||
+ | |||
+ | // 'ammo-carried' | ||
+ | // Second step 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: | ||
+ | | ar = الذخائر المحملة | ||
+ | | cs = Nábojů neseno: | ||
+ | | da = Ammo båret: | ||
+ | | de = Gesamtmunition: | ||
+ | | es = Munición llevada: | ||
+ | | fi = Kannettuna: | ||
+ | | fr = Munitions transportées : | ||
+ | | hu = Tárolt lőszer: | ||
+ | | it = Munizioni Trasportate: | ||
+ | | ja = 弾薬数: | ||
+ | | ko = 탄환 보유량: | ||
+ | | nl = Munitie gehouden: | ||
+ | | no = Ammo holdt: | ||
+ | | pl = Amunicja zapasowa: | ||
+ | | pt = Munição transportada: | ||
+ | | pt-br = Munição transportada: | ||
+ | | ro = Muniţie transportată: | ||
+ | | 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 | ||
+ | | en = Ammo type: | ||
+ | | ar = نوع الذخيرة: | ||
+ | | cs = Typ munice: | ||
+ | | da = Ammunitionstype: | ||
+ | | de = Munitionsart: | ||
+ | | es = Tipo de munición: | ||
+ | | fi = Ammustyyppi: | ||
+ | | fr = Type de munitions : | ||
+ | | hu = Lőszertípus: | ||
+ | | it = Tipo di Munizioni: | ||
+ | | ja = 弾薬タイプ: | ||
+ | | ko = 탄약 유형: | ||
+ | | nl = Munitietype: | ||
+ | | no = Type ammunisjon: | ||
+ | | pl = Rodzaj amunicji: | ||
+ | | pt = Tipo de munição: | ||
+ | | pt-br = Tipo de munição: | ||
+ | | ro = Tipul muniţiei: | ||
+ | | ru = Тип боеприпасов: | ||
+ | | 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 | ||
+ | | en = Reload type: | ||
+ | | ar = نوع الريلود : | ||
+ | | cs = Typ nabíjení: | ||
+ | | da = Ladningstype: | ||
+ | | de = Nachladetyp: | ||
+ | | es = Tipo de recarga: | ||
+ | | fi = Lataustapa: | ||
+ | | fr = Type de rechargement : | ||
+ | | hu = Újratöltés típusa: | ||
+ | | it = Tipo di Ricarica: | ||
+ | | ja = 装弾方式: | ||
+ | | ko = 장전 방식: | ||
+ | | nl = Type lading: | ||
+ | | no = Type lading: | ||
+ | | pl = Przeładowywanie: | ||
+ | | pt = Tipo de recarga: | ||
+ | | pt-br = Tipo de recarga: | ||
+ | | ro = Tipul reîncărcării: | ||
+ | | 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 = Calidades disponibles | ||
+ | | fi = Olemassaolevat Laadut | ||
+ | | fr = Qualités disponibles | ||
+ | | hu = Rendelkezésre álló Minőségek | ||
+ | | it = Qualità Disponibili | ||
+ | | ja = 存在するクオリティ | ||
+ | | ko = 존재하는 품질 | ||
+ | | nl = Verkrijgbare kwaliteiten | ||
+ | | no = Tilgjengelige Kvaliteter | ||
+ | | pl = Dostępne jakości | ||
+ | | pt = Qualidades disponíveis | ||
+ | | pt-br = Qualidades disponíveis | ||
+ | | ro = Calitățile disponibile | ||
+ | | 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 | ||
+ | | en = Loadout Stats | ||
+ | | ar = حالة لودأوت | ||
+ | | cs = Vlastnosti ve výbavě | ||
+ | | da = Udrustningsstatistik | ||
+ | | de = Inventar | ||
+ | | es = Estadísticas | ||
+ | | fi = Varustelastiominaisuudet | ||
+ | | fr = Statistiques d'inventaire | ||
+ | | hu = Statisztikák | ||
+ | | it = Statistiche | ||
+ | | ja = バックパック内表示 | ||
+ | | ko = 장비 설정 상태 | ||
+ | | 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|}}} | ||
+ | | paint-color = {{{paint-color|}}} | ||
+ | | pyroland-icon = {{{pyroland-icon|}}} | ||
+ | | halloween-icon = {{{halloween-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 | ingredient | action item | action | action taunt | special 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:{{{item-level|}}}|item-level|null}} = {{{item-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 = {{lang cat|Cosmetic items}} | ||
+ | | taunt = {{lang cat|Taunts}} | ||
+ | | tool | tools = {{lang cat|Tools}} | ||
+ | | ingredient = {{lang cat|Craft items}} | ||
+ | | action | action item = {{lang cat|Action items}} | ||
+ | | action taunt = {{lang cat|Action items}}{{lang cat|Taunts}} | ||
+ | | special taunt = {{lang cat|Taunts}}{{#if:{{QuAD|{{{qualities-override|{{BASEPAGENAME}}}}}|unusual}}|{{lang cat|Unusual 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}}}}}}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#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]]. | ||
+ | |||
+ | // 'type' parameter tracking. | ||
+ | -->{{#if:{{{type|}}}||<!-- | ||
+ | --><span class="error mid">ERROR {{tl|Item infobox}} missing 'type' parameter (See [[Template:Item infobox#Setup parameters|documentation]]).</span><!-- | ||
+ | -->[[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]<!-- | ||
+ | -->}}{{#if:{{{no-level|}}}|[[Category:Nolevel ERROR]]|}}<!-- | ||
+ | |||
+ | -->{{#switch:{{lc:{{{type|}}}}} | ||
+ | | weapon | cosmetic | taunt | special taunt | action | tool | ingredient = {{ns:0}} <!-- Correct 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}}}}]]<!-- | ||
+ | -->{{#if:{{{level|}}}|[[Category:Level ERROR]]}}<!-- | ||
+ | |||
+ | --></includeonly><!-- | ||
+ | --><noinclude> | ||
+ | {{clr}} | ||
+ | {{Complex template}} | ||
+ | {{Ambox | ||
+ | | type = style | ||
+ | | image = Warning yellow.png | ||
+ | | contents = This template <strong>must not</strong> be used on user pages. Please use {{tlx|User item infobox}} instead. | ||
+ | }} | ||
+ | </noinclude> |
Revision as of 19:44, 28 December 2023
This user is very complex. If you have questions about this user, feel free to ask on the IRC. |
This template must not be used on user pages. Please use {{User item infobox}} instead. |