Diferencia entre revisiones de «Plantilla:Traduci»
De EnciclopAtys
m (→Examples) |
|||
| Línea 1: | Línea 1: | ||
| − | < | + | <onlyinclude>{{ #switch: {{{1|}}} <!-- TEMPLATE CODE |
| − | + | -->|de<!-- | |
| − | + | -->|dE<!-- | |
| − | + | -->|De<!-- | |
| − | + | -->|DE={{ #switch: {{{2|}}}<!-- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | -->|DE={{ #switch: {{{2|}}}<!-- | ||
-->|Personal Amber=Persönlicher Bernstein<!-- | -->|Personal Amber=Persönlicher Bernstein<!-- | ||
-->|Name=Name<!-- | -->|Name=Name<!-- | ||
| Línea 80: | Línea 27: | ||
-->|Father=Vater<!-- | -->|Father=Vater<!-- | ||
-->|unknown=unbekannt}}<!-- | -->|unknown=unbekannt}}<!-- | ||
| − | -->|ES={{ #switch: {{{2|}}}<!-- | + | -->|es<!-- |
| + | -->|eS<!-- | ||
| + | -->|Es<!-- | ||
| + | -->|ES={{ #switch: {{{2|}}}<!-- | ||
-->|Personal Amber=Ámbar personal<!-- | -->|Personal Amber=Ámbar personal<!-- | ||
-->|Name=Nombre<!-- | -->|Name=Nombre<!-- | ||
| Línea 104: | Línea 54: | ||
-->|Father=Padre<!-- | -->|Father=Padre<!-- | ||
-->|unknown=desconocido(a)}}<!-- | -->|unknown=desconocido(a)}}<!-- | ||
| − | -->|FR={{ #switch: {{{2|}}}<!-- | + | -->|fr<!-- |
| + | -->|fR<!-- | ||
| + | -->|Fr<!-- | ||
| + | -->|FR={{ #switch: {{{2|}}}<!-- | ||
-->|Personal Amber=Ambre personnelle<!-- | -->|Personal Amber=Ambre personnelle<!-- | ||
-->|Name=Nom<!-- | -->|Name=Nom<!-- | ||
| Línea 128: | Línea 81: | ||
-->|Father=Père<!-- | -->|Father=Père<!-- | ||
-->|unknown=inconnu(e)}}<!-- | -->|unknown=inconnu(e)}}<!-- | ||
| + | -->|ru<!-- | ||
| + | -->|rU<!-- | ||
| + | -->|Ru<!-- | ||
-->|RU={{ #switch: {{{2|}}}<!-- | -->|RU={{ #switch: {{{2|}}}<!-- | ||
-->|Personal Amber=Личный янтарь<!-- | -->|Personal Amber=Личный янтарь<!-- | ||
| Línea 152: | Línea 108: | ||
-->|Father=Отец<!-- | -->|Father=Отец<!-- | ||
-->|unknown=неизвестный(ая)}}<!-- | -->|unknown=неизвестный(ая)}}<!-- | ||
| − | -->| #default ={{{2}}}}}</onlyinclude> | + | -->| #default = {{{2}}}}}</onlyinclude><noinclude>{{Trad |
| − | < | + | |DE=Template:Traduci |DEs=4 |
| + | |EN=Template:Traduci |ENs=0 | ||
| + | |ES=Template:Traduci|ESs=4 | ||
| + | |FR=Template:Traduci|FRs=4 | ||
| + | |RU=Template:Traduci|RUs=4 | ||
| + | }} | ||
| + | ==Traducción de la plantilla inglesa== | ||
| + | Este modelo pretende traducir palabras de uso frecuente desde el inglés a otros idiomas oficiales. Está hecho especialmente para los parámetros de la plantilla, en orden a simplificar su portabilidad.<br /> | ||
| + | La plantilla tiene dos parámetros: el idioma desde y hacia dónde traducir, y la palabra o secuencia de palabras a traducir. | ||
| + | |||
| + | ==Usage== | ||
| + | <syntaxhighlight lang="xml">{{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</syntaxhighlight> | ||
| + | BEWARE: Case matters !!! | ||
| + | |||
| + | ==Examples== | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | | 🇬🇧 || <code><nowiki>{{Traduci |gb|Mother}}</nowiki></code> || {{Traduci |gb|Mother}} | ||
| + | |- | ||
| + | | 🇩🇪 || <code><nowiki>{{Traduci |DE|Gender}}</nowiki></code> || {{Traduci |DE|Gender}} | ||
| + | |- | ||
| + | | 🇪🇸 || <code><nowiki>{{Traduci |ES|Personal Amber}}</nowiki></code> || {{Traduci |ES|Personal Amber}} | ||
| + | |- | ||
| + | | 🇫🇷 || <code><nowiki>{{Traduci |FR|Birth}}</nowiki></code> || {{Traduci |FR|Birth}} | ||
| + | |- | ||
| + | | 🇷🇺 || <code><nowiki>{{Traduci |RU|Faction}}</nowiki></code> || {{Traduci |RU|Faction}} | ||
| + | |} | ||
| + | Test: <code><nowiki>'''Woren Siloy''' {{Traduci |ES|means in Atysian}} ''¡Hola!''</nowiki></code> →→ '''Woren Siloy''' {{Traduci |ES|means in Atysian}} ''¡Hola!'' | ||
| + | [[Category:Templates]]</noinclude> | ||
Revisión del 19:27 20 mar 2021
{{{2}}}Traducción de la plantilla inglesa
Este modelo pretende traducir palabras de uso frecuente desde el inglés a otros idiomas oficiales. Está hecho especialmente para los parámetros de la plantilla, en orden a simplificar su portabilidad.
La plantilla tiene dos parámetros: el idioma desde y hacia dónde traducir, y la palabra o secuencia de palabras a traducir.
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 |ES|means in Atysian}} ''¡Hola!'' →→ Woren Siloy Significa en Atysiano ¡Hola!