Modèle:Avatar : Différence entre versions

De EncyclopAtys

(Page créée avec « <onlyinclude>{{#vardefine:sex|{{lc:{{{genre|none}}}}}}} {{#vardefine:zorro|{{lc:{{{race|none}}}}}}} <!-- TEMPLATE CODE -->{{ #switch:{{#var:sex}}<!-- -->| f<!--... »)
 
Ligne 38 : Ligne 38 :
 
== 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 default avatar picture to be used , for example in [[Template:Homin|Homin template]].<br /><br />
The template has two parameters: the genre of the character and the race.
+
The template has two parameters: the genre of the character and it's race (required).
  
 
==Usage==
 
==Usage==
Ligne 52 : Ligne 52 :
 
tryker
 
tryker
 
zorai
 
zorai
zoraï
+
zoraï</syntaxhighlight>
unknown</syntaxhighlight>
 
  
 
<!-- '''BEWARE''': Case matters !!! (except in languages codes). -->
 
<!-- '''BEWARE''': Case matters !!! (except in languages codes). -->
Ligne 60 : Ligne 59 :
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| 🇬🇧 || <code><nowiki>{{Avatar | genre=F | race=Fyros }}</nowiki></code> || [[File:Fyros Mo.png|100px|frameless|none]]
+
| 🇬🇧 || <code><nowiki>{{Avatar | genre=F | race=Fyros }}</nowiki></code> || [[File:{{Avatar | genre=F | race=Fyros }}|100px|frameless|none]]
 
|-
 
|-
| 🇩🇪 || <code><nowiki>{{Avatar | genre=weiblich | race=matis }}</nowiki></code> || [[File:Fyros Mo.png|100px|frameless|none]]
+
| 🇩🇪 || <code><nowiki>{{Avatar | genre=weiblich | race=matis }}</nowiki></code> || [[File:{{Avatar | genre=weiblich | race=matis }}|100px|frameless|none]]
 
|-
 
|-
| 🇪🇸 || <code><nowiki>{{Avatar | genre=Masculino | race=tryker }}</nowiki></code> || [[File:Fyros Mo.png|100px|frameless|none]]
+
| 🇪🇸 || <code><nowiki>{{Avatar | genre=Masculino | race=tryker }}</nowiki></code> || [[File:{{Avatar | genre=Masculino | race=tryker }|100px|frameless|none]]
 
|-
 
|-
| 🇫🇷 || <code><nowiki>{{Avatar | genre=Féminin | race=zoraï }}</nowiki></code> || [[File:Fyros Mo.png|100px|frameless|none]]
+
| 🇫🇷 || <code><nowiki>{{Avatar | genre=Féminin | race=zoraï }}</nowiki></code> || [[File:{{Avatar | genre=Féminin | race=zoraï }}|100px|frameless|none]]
 
|-
 
|-
| 🇷🇺 || <code><nowiki>{{Avatar | genre=Мужской | race=zorai }}</nowiki></code> || [[File:Fyros Mo.png|100px|frameless|none]]
+
| 🇷🇺 || <code><nowiki>{{Avatar | genre=Мужской | race=zorai }}</nowiki></code> || [[File:{{Avatar | genre=Мужской | race=zorai }}|100px|frameless|none]]
 
|}  
 
|}  
  
  
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Version du 6 mai 2021 à 16:24

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

Purpose

This template returns a default avatar picture to be used , for example in Homin template.

The template has two parameters: the genre of the character and it's 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 }} [[File:{{Avatar | genre=Masculino | race=tryker }|100px|frameless|none]]
🇫🇷 {{Avatar | genre=Féminin | race=zoraï }}
Zoraï Fo.png
🇷🇺 {{Avatar | genre=Мужской | race=zorai }}
Zoraï Mo.png