Template:AvatarFor: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{# | <includeonly>[[{{#show: {{{1}}} |?Has Avatar#-= |mainlabel=- }}|link={{{1}}}]]</includeonly><noinclude> | ||
== Example == | == Example == | ||
E.g: | E.g: | ||
Line 10: | Line 10: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the person.", | "description": "The name of the person.", | ||
Line 20: | Line 16: | ||
} | } | ||
}, | }, | ||
"description": "Helper template to find a user's Avatar. | "description": "Helper template to find a user's Avatar. The user can set this by having an infobox with their avatar shown.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 20:47, 26 January 2025
Example
E.g:
{{AvatarFor|Joseph Anderson}}
Template Data
Helper template to find a user's Avatar. The user can set this by having an infobox with their avatar shown.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the person. | String | required |