Widget

Difference between revisions of "Gravatar"

From LRDE

Line 6: Line 6:
 
<nowiki>{{#widget:Gravatar
 
<nowiki>{{#widget:Gravatar
 
|id=md5 of the email
 
|id=md5 of the email
|size=size of the avatar
+
|size=size of the avatar (default to 250)
 
}}</nowiki>
 
}}</nowiki>
   
</noinclude><includeonly><div style="float: right;"><img src="http://www.gravatar.com/avatar/<!--{$id|escape}-->?s=250" style="border-radius: 5%; -moz-border-radius: 5%; -webkit-border-radius: 5%;" /></div></includeonly>
+
</noinclude><includeonly><div style="float: right;"><img src="http://www.gravatar.com/avatar/<!--{$id|escape:'html'}-->?s=<!--{$size|escape:'html'|default:'250'}-->" style="border-radius: 5%; -moz-border-radius: 5%; -webkit-border-radius: 5%;" /></div></includeonly>

Revision as of 11:40, 26 September 2013

Addthis Widget

This widget allows you to add the Gravatar avatars.

Usage

{{#widget:Gravatar
|id=md5 of the email
|size=size of the avatar (default to 250)
}}