Difference between revisions of "Widget:AddThis"
From Apache OpenOffice Wiki
(Created page with '<noinclude> This widget allows you to add the [http://www.addthis.com/ AddThis] social-bookmarking button to your wiki page. It was created by [http://www.mediawikiwidgets.org/U…') |
(→Copy to your site) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
+ | |||
+ | To insert this widget, use the following code: | ||
+ | <nowiki> {{#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 | ||
+ | }}</nowiki> | ||
+ | [[Category:Widgets]] | ||
</noinclude><includeonly><!-- AddThis Button BEGIN --> | </noinclude><includeonly><!-- AddThis Button BEGIN --> | ||
<div style="cursor: pointer" onClick="return addthis_open(this, '', '<!--{$page_url|escape:'quotes'}-->', '<!--{$page_name|escape:'quotes'}-->')" onmouseout="addthis_close()"><img src="http://s9.addthis.com/button1-share.gif" width="125" height="16" border="0" alt="" /></div> | <div style="cursor: pointer" onClick="return addthis_open(this, '', '<!--{$page_url|escape:'quotes'}-->', '<!--{$page_name|escape:'quotes'}-->')" onmouseout="addthis_close()"><img src="http://s9.addthis.com/button1-share.gif" width="125" height="16" border="0" alt="" /></div> |
Latest revision as of 12:34, 28 May 2010
This widget allows you to add the AddThis social-bookmarking button to your wiki page.
It was created by Yaron Koren.
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:AddThis article.
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 }}