Difference between revisions of "Template:Traduci"
From EncyclopAtys
(→Examples) |
|||
Line 58: | Line 58: | ||
<includeonly>{{ #switch: {{{1|}}} | <includeonly>{{ #switch: {{{1|}}} | ||
− | |DE= | + | |DE={{ #switch: {{{2|}}} |
− | {{ #switch: {{{2|}}} | ||
|Personal Amber=Persönlicher Bernstein | |Personal Amber=Persönlicher Bernstein | ||
|Name=Name | |Name=Name | ||
Line 83: | Line 82: | ||
|Father=Vater | |Father=Vater | ||
|unknown=unbekannt }} | |unknown=unbekannt }} | ||
− | |ES= | + | |ES={{ #switch: {{{2|}}} |
− | {{ #switch: {{{2|}}} | ||
|Personal Amber=Ámbar personal | |Personal Amber=Ámbar personal | ||
|Name=Nombre | |Name=Nombre | ||
Line 108: | Line 106: | ||
|Father=Padre | |Father=Padre | ||
|unknown=desconocido(a) }} | |unknown=desconocido(a) }} | ||
− | |FR= | + | |FR={{ #switch: {{{2|}}} |
− | {{ #switch: {{{2|}}} | ||
|Personal Amber=Ambre personnelle | |Personal Amber=Ambre personnelle | ||
|Name=Nom | |Name=Nom | ||
Line 133: | Line 130: | ||
|Father=Père | |Father=Père | ||
|unknown=inconnu(e) }} | |unknown=inconnu(e) }} | ||
− | |RU= | + | |RU={{ #switch: {{{2|}}} |
− | {{ #switch: {{{2|}}} | ||
|Personal Amber=Личный янтарь | |Personal Amber=Личный янтарь | ||
|Name=Имя | |Name=Имя | ||
Line 158: | Line 154: | ||
|Father=Отец | |Father=Отец | ||
|unknown=неизвестный(ая) }} | |unknown=неизвестный(ая) }} | ||
− | | #default ={{{2}}} | + | | #default ={{{2}}} }}</includeonly> |
− | }}</includeonly> | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> |
Revision as of 04:36, 21 April 2020
Translation from english template
This model is intended to translate some frequently used words from english to other official languages. It is specially made for template parameters in order to simplify templates porting.
The template has two parameters: the laguage to translate to, and the word or word sequence to translate.
Usage
{{Traduci | <language_code> | <word> }}
where :
<language_code> is among: DE, ES, FR, RU
<word> is one of the following:
Personal Amber
Name
Title
Role
Meaning
means in Atysian
Race
Sex
Genre
Gender
Nation
Nationality
Organization
Worship
Cult
Faction
Guild
Rank
Birth
Death
Mother
Father
unknown
BEWARE: Case matters !!!
Examples
🇬🇧 | {{Traduci |gb|Mother}} |
Mother |
🇩🇪 | {{Traduci |DE|Gender}} |
Geschlecht |
🇪🇸 | {{Traduci |ES|Personal Amber}} |
Ámbar personal |
🇫🇷 | {{Traduci |FR|Birth}} |
Naissance |
🇷🇺 | {{Traduci |RU|Faction}} |
Фракция |
Test: Woren Siloy {{Traduci |FR|means in Atysian}} Salut!
→→ Woren Siloy signifie en Atysien Salut!