Difference between revisions of "Gravatar"
From LRDE
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> |
+ | <noinclude>[[Category:Widgets]] |
=Addthis Widget= |
=Addthis Widget= |
||
This widget allows you to add the [http://www.gravatar.com/ Gravatar] avatars. |
This widget allows you to add the [http://www.gravatar.com/ Gravatar] avatars. |
||
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> |
Latest revision as of 11:37, 31 March 2014
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) }}