Difference between revisions of "Template:Traduci"

From EncyclopAtys

Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:Lang|{{uc:{{{1|EN}}}}}}}<!-- TEMPLATE CODE     
+
<onlyinclude>{{#vardefine:Lang|{{uc:{{{1|EN}}}}}}}<!-- TEMPLATE CODE     
  -->{{ #switch:{{#var:Lang}}           <!--  
+
  -->{{ #switch:{{#var:Lang}}<!--  
 
-->|DE={{ #switch: {{{2|}}}<!--  
 
-->|DE={{ #switch: {{{2|}}}<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
 
-->|Personal Amber=Persönlicher Bernstein<!--  
Line 97: Line 97:
 
-->|Father=Отец<!--  
 
-->|Father=Отец<!--  
 
-->|unknown=неизвестный(ая)}}<!--  
 
-->|unknown=неизвестный(ая)}}<!--  
-->|#default ={{{2}}}}}</includeonly><noinclude>{{Trad
+
-->|#default ={{{2}}}}}</onlyinclude><noinclude>{{Trad
 
|DE=Template:Traduci |DEs=4
 
|DE=Template:Traduci |DEs=4
 
|EN=Template:Traduci |ENs=0
 
|EN=Template:Traduci |ENs=0
Line 105: Line 105:
 
}}
 
}}
 
==Translation from english template==
 
==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 />
+
This template 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 template porting.<br />
The template has two parameters: the laguage to translate to, and the word or word sequence to translate.
+
The template has two parameters: the language to translate to, and the word or word sequence to translate.
  
 
==Usage==
 
==Usage==

Latest revision as of 15:28, 6 May 2021

{{{2}}}
de:Template:Traduci
en:Template:Traduci
es:Template:Traduci
fr:Template:Traduci
ru:Template:Traduci
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Dorothée, 2021-05-06)

Translation from english template

This template 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 template porting.
The template has two parameters: the language 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 |en|means in Atysian}} ''Salut!'' →→ Woren Siloy means in Atysian Hello!