250 bytes added ,  13:55, 22 September 2011
no edit summary
Line 1: Line 1: −
<script>
+
<noinclude>This allows a Google+ 'Like' button to be embedded into a wiki page.
 +
===Usage===
 +
To insert this widget, use the following code:
 +
 
 +
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></noinclude><includeonly><script>
 
(function(d, t) {
 
(function(d, t) {
 
var g = d.createElement(t),
 
var g = d.createElement(t),
Line 8: Line 12:  
})(document, 'script');
 
})(document, 'script');
 
</script>
 
</script>
  −
   
<!-- Place this tag where you want the +1 button to render -->
 
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
+
<g:plusone size="medium"></g:plusone></includeonly>