Modèle:Traduci : Différence entre versions

De EncyclopAtys

m
Ligne 1 : Ligne 1 :
<onlyinclude>{{ #switch: {{{1|}}}             <!-- TEMPLATE CODE     
+
<onlyinclude>{{#vardefine:Lang|{{uc:{{{1|EN}}}}}}}            <!-- TEMPLATE CODE     
-->|de<!--
+
-->{{ #switch:{{#var:Lang}}            <!--  
-->|dE<!--
 
-->|De<!--  
 
 
-->|DE={{ #switch: {{{2|}}}<!--  
 
-->|DE={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
Ligne 27 : Ligne 25 :
 
-->|Father=Vater<!--  
 
-->|Father=Vater<!--  
 
-->|unknown=unbekannt}}<!--  
 
-->|unknown=unbekannt}}<!--  
-->|es<!--
+
-->|ES={{ #switch: {{{2|}}}<!--  
-->|eS<!--
 
-->|Es<!--
 
-->|ES={{ #switch: {{{2|}}}<!--  
 
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Personal Amber=Ámbar personal<!--  
 
-->|Name=Nombre<!--  
 
-->|Name=Nombre<!--  
Ligne 54 : Ligne 49 :
 
-->|Father=Padre<!--  
 
-->|Father=Padre<!--  
 
-->|unknown=desconocido(a)}}<!--  
 
-->|unknown=desconocido(a)}}<!--  
-->|fr<!--
 
-->|fR<!--
 
-->|Fr<!--
 
 
-->|FR={{ #switch: {{{2|}}}<!--  
 
-->|FR={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
 
-->|Personal Amber=Ambre personnelle<!--  
Ligne 81 : Ligne 73 :
 
-->|Father=Père<!--  
 
-->|Father=Père<!--  
 
-->|unknown=inconnu(e)}}<!--  
 
-->|unknown=inconnu(e)}}<!--  
-->|ru<!--
+
-->|RU={{ #switch: {{{2|}}}<!--  
-->|rU<!--
 
-->|Ru<!--
 
-->|RU={{ #switch: {{{2|}}}<!--  
 
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Personal Amber=Личный янтарь<!--  
 
-->|Name=Имя<!--  
 
-->|Name=Имя<!--  

Version du 29 mars 2021 à 11:21

           {{{2}}} 
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!