Difference between revisions of "Widget:AddThis"

From MansunWiki
Jump to: navigation, search
m (Undo revision 6129 by DarkMavis (talk))
m
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This widget allows you to add the [http://www.addthis.com/ AddThis] social-bookmarking button to your wiki page.
 
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/User:Yaron_Koren Yaron Koren].
 
 
== Using this widget ==
 
For information on how to use this widget, see [http://www.mediawikiwidgets.org/AddThis widget description page on MediaWikiWidgets.org].
 
  
 
== 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.
</noinclude><includeonly><!-- AddThis Button BEGIN -->
+
</noinclude><includeonly>
<div style="cursor: pointer; float: right; margin-top: -30px" 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="Share" /></div>
+
<!-- AddThis Button BEGIN -->
 
<!-- AddThis Button END -->
 
<!-- AddThis Button END -->
 
 
<!-- AddThis Rollover BEGIN -->
 
<!-- AddThis Rollover BEGIN -->
<script type="text/javascript">
+
<!-- Go to www.addthis.com/dashboard to customize your tools -->
addthis_pub    = '<!--{$account_id|escape:'quotes'}-->';
+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-56a556696f5e2723" async="async"></script>
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 src="http://s7.addthis.com/js/250/addthis_widget.js" type="text/javascript"></script>
+
 
<!-- AddThis Rollover END -->
 
<!-- AddThis Rollover END -->
 
</includeonly>
 
</includeonly>

Latest revision as of 21:52, 26 January 2016

This widget allows you to add the AddThis social-bookmarking button to your wiki page.

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.