Widget:Gravatar

From ICPWiki
Jump to navigation Jump to search

This widget allows you to add a Gravatar to your wiki page.

Parameters

email
The email address to be used
default
The image type to be used when no image exists for the address (default: identicon, see http://en.gravatar.com/site/implement/images/)
size
The image size in pixels. The image is always square, so a single integer is required.

Examples

{{#widget:Gravatar|email=espressomd-users@nongnu.org|size=180}}
Error in widget Gravatar: Syntax error in template "wiki:wiki:Gravatar" on line 1 "<img src="http://www.gravatar.com/avatar/?d=&s="/>" modifier 'md5' not allowed by security setting
{{#widget:Gravatar|email=nobody@nospam.com|size=180|default=monsterid}}
Error in widget Gravatar: Syntax error in template "wiki:wiki:Gravatar" on line 1 "<img src="http://www.gravatar.com/avatar/?d=&s="/>" modifier 'md5' not allowed by security setting

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Gravatar article.