Шаблон:Traduci — различия между версиями

Материал из ЭнциклопАтис

Перейти к: навигация, поиск
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
<noinclude>{{Trad
+
<onlyinclude>{{#vardefine:Lang|{{uc:{{{1|EN}}}}}}}<!-- TEMPLATE CODE   
|DE=Template:Traduci |DEs=4
+
-->{{ #switch:{{#var:Lang}}<!--  
|EN=Template:Traduci |ENs=0
+
-->|DE={{ #switch: {{{2|}}}<!--  
|ES=Template:Traduci|ESs=4
 
|FR=Template:Traduci|FRs=4
 
|RU=Template:Traduci|RUs=4
 
}}
 
==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.<br />
 
The template has two parameters: the laguage to translate to, and the word or word sequence to translate.
 
 
 
==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 |FR|means in Atysian}} ''Salut!''</nowiki></code> →→ '''Woren Siloy''' {{Traduci |FR|means in Atysian}} ''Salut!'' </noinclude>
 
<onlyinclude>{{ #switch: {{{1|}}}<!--             TEMPLATE CODE
 
-->|DE={{ #switch: {{{2|}}}<!--  
 
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Name=Name<!--  
 
-->|Name=Name<!--  
Строка 80: Строка 25:
 
-->|Father=Vater<!--  
 
-->|Father=Vater<!--  
 
-->|unknown=unbekannt}}<!--  
 
-->|unknown=unbekannt}}<!--  
-->|ES={{ #switch: {{{2|}}}<!--  
+
-->|ES={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Name=Nombre<!--  
 
-->|Name=Nombre<!--  
Строка 104: Строка 49:
 
-->|Father=Padre<!--  
 
-->|Father=Padre<!--  
 
-->|unknown=desconocido(a)}}<!--  
 
-->|unknown=desconocido(a)}}<!--  
-->|FR={{ #switch: {{{2|}}}<!--  
+
-->|FR={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
 
-->|Name=Nom<!--  
 
-->|Name=Nom<!--  
Строка 128: Строка 73:
 
-->|Father=Père<!--  
 
-->|Father=Père<!--  
 
-->|unknown=inconnu(e)}}<!--  
 
-->|unknown=inconnu(e)}}<!--  
-->|RU={{ #switch: {{{2|}}}<!--  
+
-->|RU={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Name=Имя<!--  
 
-->|Name=Имя<!--  
Строка 152: Строка 97:
 
-->|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
 +
}}
 +
==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.<br />
 +
The template has two parameters: the laguage to translate to, and the word or word sequence to translate.
 +
 
 +
==Usage==
 +
<syntaxhighlight lang="html+handlebars">{{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 !!! (except in languages codes).
 +
 
 +
==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 |ru|means in Atysian}} ''Salut!''</nowiki></code> →→ '''Woren Siloy''' {{Traduci |ru|means in Atysian}} ''Привет!!'' </noinclude>
 +
 
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>
 +
[[Category:Шаблон]]</noinclude>

Текущая версия на 13:49, 29 марта 2021

{{{2}}}

de:Template:Traduci
en:Template:Traduci
es:Template:Traduci
fr:Template:Traduci
ru:Template:Traduci
 
UnderConstruction.png
Перевод на рецензирование
Не вините вкладчиков, но приходите и помогите им 😎

Справочный текст ( Сохраненный текст, используется как ссылка ) :
Примечания : (Dorothée, 2021-03-29)

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 !!! (except in languages codes).

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 |ru|means in Atysian}} ''Salut!'' →→ Woren Siloy означает на языке Атыса Привет!!