Difference between revisions of "Widget:Google+"

From WikiVet English
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 13:55, 22 September 2011

This allows a Google+ 'Like' button to be embedded into a wiki page.

Usage

To insert this widget, use the following code:

{{#widget:Google+}}