Difference between revisions of "Template:Backpack item/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Pushing changes from current template)
Line 47: Line 47:
 
}}
 
}}
 
| {{#switch: {{SUBPAGENAME}}
 
| {{#switch: {{SUBPAGENAME}}
   |ar|fi|fr|hu|ja|no|pl|pt|pt-br|ru|es = {{ns:0}}
+
   |ar|fr|hu|ja|no|pl|pt|pt-br|ru|es = {{ns:0}}
   | #default <!-- en --> | cs | da | de | es | it | ja | ko | nl | ro | sv | tr | zh-hans | zh-hant = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Prefix for items with quality -->
+
   | #default <!-- en --> | cs | da | de | es | fi | it | ja | ko | nl | ro | sv | tr | zh-hans | zh-hant = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Prefix for items with quality -->
 
     | unique | normal = {{ns:0}} <!-- Unique and Normal weapons do not get a prefix -->
 
     | unique | normal = {{ns:0}} <!-- Unique and Normal weapons do not get a prefix -->
 
     | strange = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}&nbsp; <!-- Strange items have a prefix based on their rank -->
 
     | strange = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}&nbsp; <!-- Strange items have a prefix based on their rank -->
Line 56: Line 56:
 
-->{{#if:{{{item-name-local|}}} <!-- Allow item-name-local to override translated name. -->
 
-->{{#if:{{{item-name-local|}}} <!-- Allow item-name-local to override translated name. -->
 
   |{{{item-name-local}}}
 
   |{{{item-name-local}}}
   |{{#if:{{{skin|}}}|{{{skin}}}}} {{Item name|{{{item-name}}}}}
+
   |{{#if:{{{skin|}}}|{{lang incomplete
 +
      | en = {{decorated name|{{{skin}}}}}
 +
      | fr = {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | it = <nowiki>|</nowiki> {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | pl = {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | pt = <nowiki>|</nowiki> {{decorated name|{{{skin}}}}} <nowiki>|</nowiki>
 +
      | ru = «{{decorated name|{{{skin}}}}}»
 +
      | zh-hans = {{decorated name|{{{skin}}}|list=no}}
 +
  }}}} {{Item name|{{{item-name}}}}}
 
   }}{{#if:{{{suffix|}}} <!-- Check for manual suffix definition (overrides quality) -->
 
   }}{{#if:{{{suffix|}}} <!-- Check for manual suffix definition (overrides quality) -->
 
   | {{#switch:{{lc:{{{suffix|}}}}} <!-- Hide suffix by setting to none -->
 
   | {{#switch:{{lc:{{{suffix|}}}}} <!-- Hide suffix by setting to none -->
Line 65: Line 73:
 
     | {{#switch: {{SUBPAGENAME}}
 
     | {{#switch: {{SUBPAGENAME}}
 
       | #default = {{ns:0}}
 
       | #default = {{ns:0}}
       | fr = {{Item name|from {{{filter}}}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})
+
      | de = &nbsp;- {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}
 +
       | fr = &nbsp;({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
 +
      | pl = &nbsp;({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
 
       | pt-br = &nbsp;({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
 
       | pt-br = &nbsp;({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}})
       | ru = {{Item name|from {{{filter}}}}}
+
       | ru = &nbsp;{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}
 
       }}
 
       }}
 
     | {{#switch: {{SUBPAGENAME}}
 
     | {{#switch: {{SUBPAGENAME}}
 
       | #default = {{ns:0}}
 
       | #default = {{ns:0}}
       | ar|fi|fr|hu|no|pl|pt|pt-br|ru|es = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Suffix for items with quality. -->
+
       | ar|de|es|fr|it|no|pl|pt|pt-br|ru = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Suffix for items with quality. -->
 
         | unique | normal = {{ns:0}} <!-- 'unique' and 'normal' weapons do not get a suffix. -->
 
         | unique | normal = {{ns:0}} <!-- 'unique' and 'normal' weapons do not get a suffix. -->
 
         | strange = &nbsp;{{Lang incomplete
 
         | strange = &nbsp;{{Lang incomplete
 
           | 1 <!-- #default --> = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}
 
           | 1 <!-- #default --> = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}
           | pt-br = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})
+
           | de = - {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} <!-- Hyphen -->
           | es = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}
+
          | fr = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
 +
          | it = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
 +
          | pl = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
 +
           | pt-br = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) <!-- Parentheses -->
 
           }}
 
           }}
 
         | #default = &nbsp;{{Lang incomplete
 
         | #default = &nbsp;{{Lang incomplete
 
           | de = - {{Item name|{{{quality}}}}} <!-- Hyphen, no parentheses in German -->
 
           | de = - {{Item name|{{{quality}}}}} <!-- Hyphen, no parentheses in German -->
 +
          | es = {{Item name|{{{quality}}}}} <!-- No parentheses in Spanish -->
 
           | ru = {{Item name|{{{quality}}}}} <!-- No parentheses in Russian -->
 
           | ru = {{Item name|{{{quality}}}}} <!-- No parentheses in Russian -->
          | es = {{Item name|{{{quality}}}}} <!-- No parentheses in Spanish -->
 
 
           | 1 <!-- #default --> = ({{Item name|{{{quality}}}}}) <!-- Not one of the above qualities, default to the quality name. -->
 
           | 1 <!-- #default --> = ({{Item name|{{{quality}}}}}) <!-- Not one of the above qualities, default to the quality name. -->
 
           }}
 
           }}
Line 103: Line 116:
 
-->{{#ifeq:{{{item-level|}}}|none|{{ns:0}}|<br>{{#ifeq:{{{limited|}}}|yes|<span style="color:yellow">{{#if:{{{rankson|}}}|{{lang
 
-->{{#ifeq:{{{item-level|}}}|none|{{ns:0}}|<br>{{#ifeq:{{{limited|}}}|yes|<span style="color:yellow">{{#if:{{{rankson|}}}|{{lang
 
   | en = [[Limited Quantity|<span style="color:yellow; hover:yellow">Limited</span>]] {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | en = [[Limited Quantity|<span style="color:yellow; hover:yellow">Limited</span>]] {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | de = [[Limited Quantity/de|<span style="color:yellow; hover:yellow">Limitiert</span>]] {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | cs = [[Limited Quantity/cs|<span style="color:yellow; hover:yellow">Limitovaný</span>]] {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | cs = [[Limited Quantity/cs|<span style="color:yellow; hover:yellow">Limitovaný</span>]] {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 +
  | es = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) [[Limited Quantity/es|<span style="color:yellow; hover:yellow">Edición Limitada</span>]]
 
   | pt-br = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) [[Limited Quantity/pt-br|<span style="color:yellow; hover:yellow">Edição Limitada</span>]]  
 
   | pt-br = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) [[Limited Quantity/pt-br|<span style="color:yellow; hover:yellow">Edição Limitada</span>]]  
 
   | ru = {{{item-kind}}} {{lc:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}}} [[Limited Quantity/ru|<span style="color:yellow; hover:yellow">ограниченной серии</span>]] -
 
   | ru = {{{item-kind}}} {{lc:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}}} [[Limited Quantity/ru|<span style="color:yellow; hover:yellow">ограниченной серии</span>]] -
Line 213: Line 228:
 
   | nl = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | nl = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | no = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | no = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
   | pl = {{{item-kind}}} {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
+
   | pl = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt-br = {{{item-kind}}} {{#if:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
 
   | pt-br = {{{item-kind}}} {{#if:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
Line 248: Line 263:
 
   | nl = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | nl = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | no = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
 
   | no = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{{item-kind}}} -
   | pl = {{{item-kind}}} {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} -
+
   | pl = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt = {{{item-kind}}} ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}) -
 
   | pt-br = {{{item-kind}}} {{#if:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
 
   | pt-br = {{{item-kind}}} {{#if:{{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}}|({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}})}}
Line 314: Line 329:
 
   | de = Ungewöhnlicher Effekt: {{{unusual-effect}}}
 
   | de = Ungewöhnlicher Effekt: {{{unusual-effect}}}
 
   | es = Efecto Inusual: {{{unusual-effect}}}
 
   | es = Efecto Inusual: {{{unusual-effect}}}
 +
  | fi = Epätavallinen tehoste: {{{unusual-effect}}}
 
   | fr = Effet inhabituel : {{{unusual-effect}}}
 
   | fr = Effet inhabituel : {{{unusual-effect}}}
 
   | hu = Rendkívüli effekt: {{{unusual-effect}}}
 
   | hu = Rendkívüli effekt: {{{unusual-effect}}}

Revision as of 23:01, 28 October 2022