Difference between revisions of "Widget:AddThis"

From BroaDWcast
Jump to navigationJump to search
(Created page with "{{#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 |optio...")
 
Line 1: Line 1:
{{#widget:AddThis
+
<noinclude>
|page_name={{PAGENAME}}
+
This widget allows you to add the [http://www.addthis.com/ AddThis] social-bookmarking button to your wiki page.
|page_url={{fullurl:{{PAGENAME}}}}
+
 
|account_id=my-account-id
+
It was created by [http://www.mediawikiwidgets.org/User:Yaron_Koren Yaron Koren].
|logo_url=
+
 
|logo_background=FFFFFF
+
== Using this widget ==
|logo_color=FFFFFF
+
For information on how to use this widget, see [http://www.mediawikiwidgets.org/AddThis widget description page on MediaWikiWidgets.org].
|brand=My Wiki
+
 
|options=favorites, email, digg, delicious, more
+
== Copy to your site ==
|offset_top=0
+
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.
|offset_left=0
+
</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>
 +
<!-- AddThis Button END -->
 +
 
 +
<!-- AddThis Rollover BEGIN -->
 +
<script type="text/javascript">
 +
addthis_pub    = '<!--{$account_id|escape:'quotes'}-->';
 +
addthis_logo    = '<!--{$logo_url|escape:'quotes'}-->';
 +
addthis_logo_color = '<!--{$logo_color|escape:'quotes'}-->';
 +
addthis_logo_background = '<!--{$logo_background|escape:'quotes'}-->';
 +
addthis_brand  = '<!--{$brand|escape:'quotes'}-->';
 +
addthis_options = '<!--{$options|escape:'quotes'}-->';
 +
addthis_offset_top = '<!--{$offset_top|escape:'quotes'}-->';
 +
addthis_offset_left = '<!--{$offset_left|escape:'quotes'}-->';
 +
</script><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
 +
<!-- AddThis Rollover END -->
 +
</includeonly>

Revision as of 02:56, 18 April 2012

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.