Difference between revisions of "Template:Weapon name"

From Team Fortress Wiki
Jump to: navigation, search
m
(Added Soldier and Pyro weapons)
Line 6: Line 6:
 
| lugermorph = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| lugermorph = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | en = Lugermorph
 
     | en = Lugermorph
 +
  }}
 +
| shotgun = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Shotgun
 +
  }}
 +
| pain train = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Pain Train
 +
  }}
 +
| frying pan = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Frying Pan
 
   }}
 
   }}
 
<!-- Scout weapons -->
 
<!-- Scout weapons -->
Line 52: Line 61:
 
| holy mackerel = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
| holy mackerel = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 
     | en = Holy Mackerel
 
     | en = Holy Mackerel
 +
  }}
 +
<!-- Soldier weapons -->
 +
| rocket launcher = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Rocket Launcher
 +
  }}
 +
| direct hit = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Direct Hit
 +
  }}
 +
| black box = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Black Box
 +
  }}
 +
| rocket jumper = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Rocket Jumper
 +
  }}
 +
| buff banner = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Buff Banner
 +
  }}
 +
| gunboats = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Gunboats
 +
  }}
 +
| battalion's Backup = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = battalion's backup
 +
  }}
 +
| shovel = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Shovel
 +
  }}
 +
| equalizer = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Equalizer
 +
  }}
 +
<!-- Pyro weapons -->
 +
| flamethrower = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Flamethrower
 +
  }}
 +
| backburner = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Backburner
 +
  }}
 +
| degreaser = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Degreaser
 +
  }}
 +
| flare gun = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Flare Gun
 +
  }}
 +
| fire axe = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Fire Axe
 +
  }}
 +
| axtinguisher = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Axtinguisher
 +
  }}
 +
| homewrecker = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Homewrecker
 +
  }}
 +
| powerjack = {{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}}
 +
    | en = Powerjack
 
   }}
 
   }}
 
| #default = <includeonly><span class="error small">Error {{tl|weapon name}}: needs parameter 1 defined as a weapon.[[Category:ERROR]]</span>></includeonly>
 
| #default = <includeonly><span class="error small">Error {{tl|weapon name}}: needs parameter 1 defined as a weapon.[[Category:ERROR]]</span>></includeonly>

Revision as of 03:26, 10 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.