Difference between revisions of "Widget:Gravatar"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This widget allows you to add a [http://www.gravatar.com Gravatar] to your wiki page.
 
This widget allows you to add a [http://www.gravatar.com Gravatar] to your wiki page.
 +
 +
== Parameters ==
 +
* <pre>email</pre>: The email address to be used
 +
* <pre>default</pre>: The image type to be used when no image exists for the address (default: identicon, see http://en.gravatar.com/site/implement/images/)
 +
* <pre>size</pre>: The image size in pixels. The image is always square, so a single integer is required.
  
 
== Examples ==
 
== Examples ==

Revision as of 12:17, 9 January 2014

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.