Difference between revisions of "Template:Avatar"
From EncyclopAtys
(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 | + | 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 | + | 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
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 }} |
|
🇩🇪 | {{Avatar | genre=weiblich | race=matis }} |
|
🇪🇸 | {{Avatar | genre=Masculino | race=tryker }} |
|
🇫🇷 | {{Avatar | genre=Féminin | race=zoraï }} |
|
🇷🇺 | {{Avatar | genre=Мужской | race=zorai }} |