Difference between revisions of "Template:Avatar"

From EncyclopAtys

Jump to: navigation, search
(Created page with "<onlyinclude>{{#vardefine:sex|{{lc:{{{genre| }}}}}}} {{#vardefine:zorro|{{lc:{{{race| }}}}}}} <!-- TEMPLATE CODE -->{{ #switch:{{#var:sex}}<!-- -->| f<!-- -->| fem...")
 
 
Line 36: Line 36:
 
}}
 
}}
 
== Purpose ==
 
== Purpose ==
This template returns a default avatar picture to be used , for example in [[Template:Homin|Homin template]].<br /><br />
+
This template returns a file name of an avatar picture to be used by default, for example in [[Template:Homin|Homin template]].<br /><br />
The template has two parameters: the genre of the character and it's race (required).
+
The template has two parameters: the genre of the character and its race (required).
  
 
==Usage==
 
==Usage==

Latest revision as of 16:37, 6 May 2021

de:Template:Avatar
en:Template:Avatar
es:Template:Avatar
fr:Template:Avatar
ru:Template:Avatar
 
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)

Purpose

This template returns a file name of an avatar picture to be used by default, for example in Homin template.

The template has two parameters: the genre of the character and its race (required).

Usage

{{Avatar | genre=<genre> | race=<race> }}

where :
	<genre> is among: 
		F, Female, Weiblich, Féminin, Femenino, Женский
		M, Male, Männlich, Masculin,  Masculino, Мужской
	<race> is one of the following:
		fyros, matis, tryker, zorai, zoraï


Examples

🇬🇧 {{Avatar | genre=F | race=Fyros }}
Fyros Fo.png
🇩🇪 {{Avatar | genre=weiblich | race=matis }}
Matis Fo.png
🇪🇸 {{Avatar | genre=Masculino | race=tryker }}
Tryker Mo.png
🇫🇷 {{Avatar | genre=Féminin | race=zoraï }}
Zoraï Fo.png
🇷🇺 {{Avatar | genre=Мужской | race=zorai }}
Zoraï Mo.png