Board Thread:Support Requests - Designing Your Wiki/@comment-36009152-20190224153043/@comment-9605025-20190327212018

The template can be used for any user; you don't need to provide a special list.

You shouldn't put "dev:" in front. What that does is tell the behind-the-scenes script to grab the script from the dev wiki instead of your wiki. Since the script is actually on your wiki, you don't want "dev:" in front.

You use the template as follows:

All 3 parameters are optional but, since they are positional, you must provide, for example, the first and second parameters if you want to use the third. For example:

What do the parameters do? Examples:
 * Username - The username of the user whose avatar you want to display
 * AvatarSize - The size (in pixels) that you want the avatar to be. If no value is provided, the default is 16. If the value provided is not recognized as a number, the deafult is 100. The avatar can be as small as 16x16 px and as large as 150x150 px. If you provide a value outside this range, it will be forced into the range.
 * Namespace - The namespace you want the avatar to link to. By harcoded default, this is the "User" namespace. The default can be changed by using MediaWiki:Common.css to set the value of "window.andrewds1021.user_avatar_link.namespace".

Creates a blank 16x16 px box which displays "Vacant" when hovered over.

Shows a 16x16 px version of whatever my current avatar is and links to "User:Andrewds1021". Displays "Andrewds1021" when hovered over.

Shows a 125x125 px version of whatever my current avatar is and links to "User:Andrewds1021". Displays "Andrewds1021" when hovered over.

Shows a 100x100 px version of whatever my current avatar is and links to "User:Andrewds1021". Displays "Andrewds1021" when hovered over.

Shows a 125x125 px version of whatever my current avatar is and links to "Message Wall:Andrewds1021". Displays "Andrewds1021" when hovered over. - Edit:

Actually, since you have page preview enabled, hovering over the avatar will show a preview of the page that has been linked to rather than the user's name. - Edit:

Just realized I left some extraneous lines in the script. Remove lines 20-24 like I did here.