Difference between revisions of "Template:Class name"
Line 2: | Line 2: | ||
| Scout = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Scout = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Scout | | en = Scout | ||
+ | | de = Scout | ||
| it = Esploratore | | it = Esploratore | ||
| fr = Scout | | fr = Scout | ||
Line 15: | Line 16: | ||
| Soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Soldier = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Soldier | | en = Soldier | ||
+ | | de = Soldier | ||
| it = Soldato | | it = Soldato | ||
| fr = Soldier | | fr = Soldier | ||
Line 28: | Line 30: | ||
| Pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Pyro = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Pyro | | en = Pyro | ||
+ | | de = Pyro | ||
| it = Piro | | it = Piro | ||
| fr = Pyro | | fr = Pyro | ||
Line 42: | Line 45: | ||
| Demoman = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Demoman = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Demoman | | en = Demoman | ||
+ | | de = Demoman | ||
| it = Demolitore | | it = Demolitore | ||
| fr = Demoman | | fr = Demoman | ||
Line 55: | Line 59: | ||
| Heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Heavy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Heavy | | en = Heavy | ||
+ | | de = Heavy | ||
| it = Grosso | | it = Grosso | ||
| fr = Heavy | | fr = Heavy | ||
Line 68: | Line 73: | ||
| Engineer = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Engineer = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Engineer | | en = Engineer | ||
+ | | de = Engineer | ||
| it = Ingegnere | | it = Ingegnere | ||
| fr = Engineer | | fr = Engineer | ||
Line 81: | Line 87: | ||
| Medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Medic = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Medic | | en = Medic | ||
+ | | de = Medic | ||
| it = Medico | | it = Medico | ||
| fr = Medic | | fr = Medic | ||
Line 95: | Line 102: | ||
| Sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Sniper = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Sniper | | en = Sniper | ||
+ | | de = Sniper | ||
| it = Cecchino | | it = Cecchino | ||
| fr = Sniper | | fr = Sniper | ||
Line 108: | Line 116: | ||
| Spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Spy = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
| en = Spy | | en = Spy | ||
+ | | de = Spy | ||
| it = Spia | | it = Spia | ||
| fr = Spy | | fr = Spy | ||
Line 120: | Line 129: | ||
}} | }} | ||
| Civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | | Civilian = {{lang | {{#if:{{{force|}}}|force|void}} = {{{force|}}} | ||
+ | | en = Civilian | ||
| de = Zivilist | | de = Zivilist | ||
− | |||
| es = Civil | | es = Civil | ||
| fr = Civil | | fr = Civil | ||
Line 137: | Line 146: | ||
| #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|it, fr, ja, ko, no, pl, ro, ru, sv, zh-hans, zh-hant}} | + | {{translation switching|de, it, fr, ja, ko, no, pl, 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 11:28, 10 November 2010
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Class name/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, it, fr, ja, ko, no, pl, ro, ru, sv, zh-hans, zh-hant (add) |
- 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