AddThis
From MediaWiki Widgets
** See the discussion tab for information about a problem with the offset that causes the popup to display off the screen **
This widget allows you to add the AddThis social-bookmarking button to your wiki page.
To insert this widget, use the following code:
{{#widget:AddThis
|page_name={{PAGENAME}}
|page_url={{fullurl:{{PAGENAME}}}}
|account_id=my-account-id
|logo_url=
|logo_background=FFFFFF
|logo_color=FFFFFF
|brand=My Wiki
|options=favorites, email, digg, delicious, more
|offset_top=0
|offset_left=0
}}
If you want to use fixed value for account_id on your site or even fix the styles and the widget to share only current page, you can create a template called something like Template:AddThisWidget and tell users to call {{AddThisWidget}} instead of the {{#widget}} parser function.
You can read more about these options on the AddThis documentation page.
[edit] Sample result
|
To copy this widget to your wiki, cut and paste the entire source of AddThis widget code page into a page called Widget:AddThis on your wiki. If you don't have Widget extension set up on your wiki, go to extension page on MediaWiki.org and follow installation instructions.
| ||||||||
| Widget Added On | May 15, 2008 + |
| Widget Author | Yaron Koren + |
| Widget Code Page | AddThis + |
| Widget Provider | AddThis + |
| Widget Provider URL | http://www.addthis.com/ + |

