Note: parts of or the entire template might not be visible without values provided.
- Description
- User Avatar Finder lets a user add and keep an up-to-date user avatar image in a page, by using the template, without having to look for the file link.
- Usage
- To use it, simply include the template name and the username of the user in the content.
{{Template Name|Username}}- You can also change the size of the avatar (minimum size: 16 × 16px, maximum: 150 × 150px, default: 100 × 100px), (leave the px out) like so:
{{Template Name|Username|Size}}
- Example
{{User Avi|Tsukinyama|50}}- Results with the following:
- Dependencies
- Add the following to the wiki's ImportJS file. This is preferred.
dev:User_Avatar_Finder/code.js
- Or add the following to the wiki's common js page.
importArticles({
type: "script",
articles: [
"u:dev:MediaWiki:User_Avatar_Finder/code.js"
]
});
- See User Avatar Finder on Fandom Developers Wiki for more information.
- See also