Template:AvatarFor: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#ifexist:{{{1}}}/Avatar|:{{{1}}}/Avatar|{{#ifexist:File:{{{1}}}.png|File:{{{1}}}.png}}}}<noinclude> | {{#ifexist:{{{1}}}/Avatar|{{:{{{1}}}/Avatar}}|{{#ifexist:File:{{{1}}}.png|[[File:{{{1}}}.png|link={{{1}}}]]}}}}<noinclude> | ||
== Example == | == Example == | ||
E.g: | E.g: | ||
Revision as of 17:00, 21 January 2025
Example
E.g:
{{AvatarFor|Jelly}}
Template Data
Helper template to find a user's Avatar. Looks for their `Username/Avatar` subpage first, then falls back to looking for `Username.png`.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | 1 user name | The name of the person. | String | required |
