Gravatar
From LRDE
Revision as of 11:05, 26 September 2013 by Clément Démoulins (talk | contribs)
Addthis Widget
This widget allows you to add the Gravatar avatars.
Usage
{{#widget:Gravatar |p1=first-part-of-the-email-used-to-register-before-the-@ |p2=second-part-of-the-email-used-to-register-after-the-@ |size=size-of-avatar }}
Parameters
Parameter | Notes | Default Value |
---|---|---|
p1 | username part of the email | |
p2 | domain part of the email | |
id | id attribute of the HTML img element | gravatar_1 |
class | class attribute of the HTML img element | gravatar |
class_div | class attribute of the HTML div element | gravatar_div |
Notes
Usually, only the parameters p1 and p2 are used. The case for customizing the other parameters occurs when more than one gravatar is used on any given page.
Example
{{#widget:Gravatar |p1=ohloh |p2=jldupont.com }}
Code
Provided as reference only.