Modèle:Traduci : Différence entre versions

De EncyclopAtys

m
(Usage)
Ligne 109 : Ligne 109 :
  
 
==Usage==
 
==Usage==
<syntaxhighlight lang="xml">{{Traduci | <language_code> | <word> }}
+
<syntaxhighlight lang="html+handlebars">{{Traduci | <language_code> | <word> }}
  
 
where :
 
where :

Version du 29 mars 2021 à 13:22

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