Difference between revisions of "Template:Class name"

From Team Fortress Wiki
Jump to: navigation, search
m (corrected Swedish trans)
(added ar/ lines)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
 
| scout = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| scout = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = السكاوت
 
   | en = Scout
 
   | en = Scout
 
   | da = Spejder
 
   | da = Spejder
Line 18: Line 19:
 
   }}
 
   }}
 
| soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = صولدجير
 
   | en = Soldier
 
   | en = Soldier
 
   | da = Soldat
 
   | da = Soldat
Line 35: Line 37:
 
   }}
 
   }}
 
| pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = البييرو
 
   | en = Pyro
 
   | en = Pyro
 
   | da = Pyro
 
   | da = Pyro
Line 53: Line 56:
 
| demo
 
| demo
 
| demoman = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| demoman = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = الديمومان
 
   | en = Demoman
 
   | en = Demoman
 
   | da = Demomand
 
   | da = Demomand
Line 70: Line 74:
 
   }}
 
   }}
 
| heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = الهيفي
 
   | en = Heavy
 
   | en = Heavy
 
   | da = Heavy
 
   | da = Heavy
Line 87: Line 92:
 
   }}
 
   }}
 
| engineer = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| engineer = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = الإينجينيير
 
   | en = Engineer
 
   | en = Engineer
 
   | da = Ingeniør
 
   | da = Ingeniør
Line 104: Line 110:
 
   }}
 
   }}
 
| medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = الميديك
 
   | en = Medic
 
   | en = Medic
 
   | da = Feltlæge
 
   | da = Feltlæge
Line 122: Line 129:
 
   }}
 
   }}
 
| sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = السنيبير
 
   | en = Sniper
 
   | en = Sniper
 
   | da = Snigskytte
 
   | da = Snigskytte
Line 139: Line 147:
 
   }}
 
   }}
 
| spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = السبي
 
   | en = Spy
 
   | en = Spy
 
   | da = Spion
 
   | da = Spion
Line 156: Line 165:
 
   }}
 
   }}
 
| civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 +
  | ar = السيفيليان
 
   | en = Civilian
 
   | en = Civilian
 
   | da = Civil
 
   | da = Civil
Line 203: Line 213:
 
| #default = <includeonly><span class="error small">Error {{tl|class name}}: needs parameter 1 defined as a class.[[Category:ERROR]]</span></includeonly>
 
| #default = <includeonly><span class="error small">Error {{tl|class name}}: needs parameter 1 defined as a class.[[Category:ERROR]]</span></includeonly>
 
}}<noinclude>
 
}}<noinclude>
{{translation switching|da, de, it, fi, fr, ja, ko, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
+
{{translation switching|ar, da, de, it, fi, fr, ja, ko, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
 
* Switches the translations of class names. Some languages do not appear in this list because they do not have translations for class names.
 
* Switches the translations of class names. Some languages do not appear in this list because they do not have translations for class names.
 
* {{tlx|Class name|Spy}} when used on [[Spy/ru]] generates "Шпион".
 
* {{tlx|Class name|Spy}} when used on [[Spy/ru]] generates "Шпион".

Revision as of 16:48, 6 January 2011

  • Switches the translations of class names. Some languages do not appear in this list because they do not have translations for class names.
  • {{Class name|Spy}} when used on Spy/ru generates "Шпион".
  • {{Class name|Spy|force = pl}} generates "Szpieg" on any page.
  • Supported: Scout, Soldier, Pyro, Demoman, Heavy, Heavy Weapons Guy, Engineer, Medic, Sniper, Spy, Civilian, All Classes.