Modèle:Traduci : Différence entre versions

De EncyclopAtys

Ligne 55 : Ligne 55 :
 
|}  
 
|}  
 
Test: <code><nowiki>'''Woren Siloy''' {{Traduci |FR|means in Atysian}} ''Salut!''</nowiki></code> →→ '''Woren Siloy''' {{Traduci |FR|means in Atysian}} ''Salut!'' </noinclude>
 
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
+
<onlyinclude>{{ #switch: {{{1|}}}      <!--            TEMPLATE CODE     -->
-->|de      <!--
+
|de       
-->|dE      <!--
+
|dE       
-->|De      <!--
+
|De       
-->|DE={{ #switch: {{{2|}}}<!--  
+
|DE={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Name=Name<!--  
 
-->|Name=Name<!--  
Ligne 82 : Ligne 82 :
 
-->|Mother=Mutter<!--  
 
-->|Mother=Mutter<!--  
 
-->|Father=Vater<!--  
 
-->|Father=Vater<!--  
-->|unknown=unbekannt}}<!--
+
-->|unknown=unbekannt}}
-->|es     <!--
+
|es
-->|eS     <!--
+
|eS
-->|Es     <!--
+
|Es
-->|ES={{ #switch: {{{2|}}}<!--  
+
|ES={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Name=Nombre<!--  
 
-->|Name=Nombre<!--  
Ligne 109 : Ligne 109 :
 
-->|Mother=Madre<!--  
 
-->|Mother=Madre<!--  
 
-->|Father=Padre<!--  
 
-->|Father=Padre<!--  
-->|unknown=desconocido(a)}}<!--
+
-->|unknown=desconocido(a)}}
-->|fr     <!--
+
|fr
-->|fR     <!--
+
|fR
-->|Fr     <!--
+
|Fr
-->|FR={{ #switch: {{{2|}}}<!--  
+
|FR={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
 
-->|Name=Nom<!--  
 
-->|Name=Nom<!--  
Ligne 136 : Ligne 136 :
 
-->|Mother=Mère<!--  
 
-->|Mother=Mère<!--  
 
-->|Father=Père<!--  
 
-->|Father=Père<!--  
-->|unknown=inconnu(e)}}<!--
+
-->|unknown=inconnu(e)}}
-->|ru     <!--
+
|ru
-->|rU     <!--
+
|rU
-->|Ru     <!--
+
|Ru
-->|RU={{ #switch: {{{2|}}}<!--  
+
|RU={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Name=Имя<!--  
 
-->|Name=Имя<!--  

Version du 20 mars 2021 à 18:52

de:Template:Traduci
en:Template:Traduci
es:Template:Traduci
fr:Template:Traduci
ru:Template:Traduci

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! Unknown language, I cant translate