Template:Avatar/doc

Using
To use it, simply include the template name and the username of the user in the content.

You can also change the size of the avatar (minimum size: 16 x 16px, maximum: 150 x 150px, default: 100 x 100px), (leave the px out) like so:

Example:

Results in the following:

Original script page — http://dev.wikia.com/wiki/User_Avatar_Finder