Difference between revisions of "Gravatar"
From LRDE
(Created page with " =Addthis Widget= This widget allows you to add the [http://www.gravatar.com/ Gravatar] avatars. ==Usage== <nowiki>{{#widget:Gravatar |p1=first-part-of-the-email-used-to-re...") |
|||
Line 30: | Line 30: | ||
== Example == |
== Example == |
||
− | {{#widget:Gravatar |
+ | <nowiki>{{#widget:Gravatar |
|p1=ohloh |
|p1=ohloh |
||
|p2=jldupont.com |
|p2=jldupont.com |
||
+ | }}</nowiki> |
||
− | }} |
||
==Code== |
==Code== |
Revision as of 11:05, 26 September 2013
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.