Difference between revisions of "Template:Class name"

From Team Fortress Wiki
Jump to: navigation, search
m
(For lv)
Line 12: Line 12:
 
   | zh-hans = 侦查兵
 
   | zh-hans = 侦查兵
 
   | zh-hant = 偵察兵
 
   | zh-hant = 偵察兵
 +
  | lv = Skauts
 
   }}
 
   }}
 
| Soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 25: Line 26:
 
   | zh-hans = 士兵
 
   | zh-hans = 士兵
 
   | zh-hant = 火箭兵
 
   | zh-hant = 火箭兵
 +
  | lv = Kareivis
 
   }}
 
   }}
 
| Pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 38: Line 40:
 
   | zh-hans = 消防兵  
 
   | zh-hans = 消防兵  
 
   | zh-hant = 火焰兵
 
   | zh-hant = 火焰兵
 +
  | lv = Piromāns
 
   }}
 
   }}
 
| Demo
 
| Demo
Line 52: Line 55:
 
   | zh-hans = 威胁者
 
   | zh-hans = 威胁者
 
   | zh-hant = 爆破兵
 
   | zh-hant = 爆破兵
 +
  | lv = Demolētājs
 
   }}
 
   }}
 
| Heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 78: Line 82:
 
   | zh-hans = 工程师
 
   | zh-hans = 工程师
 
   | zh-hant = 工程師
 
   | zh-hant = 工程師
 +
  | lv = Inženieris
 
   }}
 
   }}
 
| Medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 92: Line 97:
 
   | zh-hans = 医疗兵
 
   | zh-hans = 医疗兵
 
   | zh-hant = 醫護兵
 
   | zh-hant = 醫護兵
 +
  | lv = Mediķis
 
   }}
 
   }}
 
| Sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 105: Line 111:
 
   | zh-hans = 狙击手
 
   | zh-hans = 狙击手
 
   | zh-hant = 狙擊手
 
   | zh-hant = 狙擊手
 +
  | lv = Snaiperis
 
   }}
 
   }}
 
| Spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 118: Line 125:
 
   | zh-hans = 间谍
 
   | zh-hans = 间谍
 
   | zh-hant = 間諜
 
   | zh-hant = 間諜
 +
  | lv = Spiegs
 
   }}
 
   }}
 
| Civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
 
| Civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}}
Line 133: Line 141:
 
   | zh-hans = 平民
 
   | zh-hans = 平民
 
   | zh-hant = 平民
 
   | zh-hant = 平民
 +
  | lv = Civilpersona
 
   }}
 
   }}
 
| #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>

Revision as of 22:18, 6 November 2010

  • 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, Engineer, Medic, Sniper, Spy, Civilian