Modèle:Avatar : Différence entre versions

De EncyclopAtys

 
(3 révisions intermédiaires par le même utilisateur non affichées)
Ligne 36 : Ligne 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==
Ligne 47 : Ligne 47 :
 
M, Male, Männlich, Masculin,  Masculino, Мужской
 
M, Male, Männlich, Masculin,  Masculino, Мужской
 
<race> is one of the following:
 
<race> is one of the following:
fyros
+
fyros, matis, tryker, zorai, zoraï</syntaxhighlight>
matis
 
tryker
 
zorai
 
zoraï</syntaxhighlight>
 
  
 
<!-- '''BEWARE''': Case matters !!! (except in languages codes). -->
 
<!-- '''BEWARE''': Case matters !!! (except in languages codes). -->
Ligne 70 : Ligne 66 :
  
  
<noinclude>[[Category:Templates]]</noinclude>
+
<noinclude>[[Category:Modèles]] [[Category:Utility templates]]</noinclude>

Version actuelle datée du 6 mai 2021 à 16:38

  
de:Template:Avatar
en:Template:Avatar
es:Template:Avatar
fr:Template:Avatar
ru:Template:Avatar

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