Difference between revisions of "Template:Backpack item/Sandbox"
m |
m (Pushing changes from current template) |
||
Line 47: | Line 47: | ||
}} | }} | ||
| {{#switch: {{SUBPAGENAME}} | | {{#switch: {{SUBPAGENAME}} | ||
− | |ar | + | |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}}}}} <!-- Strange items have a prefix based on their rank --> | | strange = {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} <!-- 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 = - {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}} |
+ | | fr = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}) | ||
+ | | pl = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}) | ||
| pt-br = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}) | | pt-br = ({{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} {{Item name|from {{{filter}}}}}) | ||
− | | ru = {{Item name|from {{{filter}}}}} | + | | ru = {{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| | + | | 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 = {{Lang incomplete | | strange = {{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}}}}} | ||
− | | | + | | de = - {{Strange rank name/Sandbox|item-name = {{{item-name|}}}|rankson={{{rankson|}}}|kills={{{killcount|0}}}}} <!-- Hyphen --> |
− | | | + | | 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 = {{Lang incomplete | | #default = {{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 --> | ||
− | |||
| 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
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Backpack item/Sandbox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, de, ja, ko, nl, pl, pt-br, ru, zh-hant, zh-hans (add) |
Template documentation [item/Sandbox/doc?action=edit&preload=Template:Documentation/preload create]