Difference between revisions of "Widget:Google+"

From WikiVet English
Jump to navigation Jump to search
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 11: Line 15:
  
 
<!-- 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></g:plusone></includeonly>

Revision as of 13:51, 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+}}