Difference between revisions of "Widget:AddThis"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Copy to your site)
Line 10: Line 10:
 
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:  
 
To insert this widget, use the following code:  
<nowiki>
+
<nowiki> {{#widget:AddThis
{{#widget:AddThis
+
 
  |page_name={{PAGENAME}}
 
  |page_name={{PAGENAME}}
 
  |page_url={{fullurl:{{PAGENAME}}}}
 
  |page_url={{fullurl:{{PAGENAME}}}}
Line 22: Line 21:
 
  |offset_top=0
 
  |offset_top=0
 
  |offset_left=0
 
  |offset_left=0
  }}
+
  }}</nowiki>
</nowiki>
+
 
[[Category:Widgets]]
 
[[Category:Widgets]]
 
</noinclude><includeonly><!-- AddThis Button BEGIN -->
 
</noinclude><includeonly><!-- AddThis Button BEGIN -->

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
 }}
Personal tools