Difference between revisions of "Template:Weapon name"

From Team Fortress Wiki
Jump to: navigation, search
(add weapon slot strings from {{item infobox}})
(pda slots, edit code markers, aliases)
Line 1: Line 1:
{{#switch: {{lc:{{{1|}}}}}
+
{{#switch: {{lc:{{{1|}}}}}<!--
 +
 
 +
// Weapon slot names
 +
 
 +
-->
 
| primary = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| primary = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | cs = Primární
 
     | cs = Primární
Line 65: Line 69:
 
     | zh-hans = 近戰武器
 
     | zh-hans = 近戰武器
 
     | zh-hant = 肉搏武器
 
     | zh-hant = 肉搏武器
 +
  }}
 +
| pda1 | pda 1 = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = PDA1
 +
    | es = PDA primaria
 +
    | ru = КПК1
 +
  }}
 +
| pda2 | pda 2 = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = PDA2
 +
    | es = PDA secundaria
 +
    | ru = КПК2
 
   }}
 
   }}
 
| taunt = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| taunt = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
Line 86: Line 100:
 
     | zh-hans = 嘲讽
 
     | zh-hans = 嘲讽
 
     | zh-hant = 嘲諷
 
     | zh-hant = 嘲諷
   }}
+
   }}<!--
 +
 
 +
// Weapons
 +
 
 +
-->
 
| ambassador = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| ambassador = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | en = Ambassador
 
     | en = Ambassador
Line 837: Line 855:
 
     | sv = Galen Mjölk
 
     | sv = Galen Mjölk
 
   }}
 
   }}
 +
| medigun
 
| medi gun = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| medi gun = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | en = Medi Gun
 
     | en = Medi Gun
Line 1,312: Line 1,331:
 
     | ru = Вечный покой
 
     | ru = Вечный покой
 
   }}
 
   }}
 +
| ubersaw
 
| übersaw = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| übersaw = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | en = Übersaw
 
     | en = Übersaw

Revision as of 02:16, 12 December 2010

  • Switches the translations of weapon names.
  • {{Weapon name|scattergun}} when used on Scattergun/de generates "Schrotflinte".
  • {{Weapon name|scattergun|force = de}} generates "Scattergun" on any page.