Widget:Google PlusOne

Z Multimediaexpo.cz

(Rozdíly mezi verzemi)
(Google PlusOne)
(+ Typo)
 
(Není zobrazena jedna mezilehlá verze.)
Řádka 8: Řádka 8:
|count=true
|count=true
}}</nowiki>
}}</nowiki>
-
 
+
<!--
== Parameters ==
== Parameters ==
* '''pageurl''' – If you add the button on http://www.example.com/duck/typing but you want the button to +1 on http://www.example.com/ then you enter http://www.example.com/ in this option.
* '''pageurl''' – If you add the button on http://www.example.com/duck/typing but you want the button to +1 on http://www.example.com/ then you enter http://www.example.com/ in this option.
Řádka 15: Řádka 15:
* '''callback''' – Function called after the user has clicked the +1 button. The callback function may accept a JSON object which will be of the form, <code>{"href": "http://www.example.com/", "state": "on"}</code>. Where <code>href</code> is the URL of the +1 and<code> state</code> is <code>on</code> for a +1 and off for the removal of a +1.
* '''callback''' – Function called after the user has clicked the +1 button. The callback function may accept a JSON object which will be of the form, <code>{"href": "http://www.example.com/", "state": "on"}</code>. Where <code>href</code> is the URL of the +1 and<code> state</code> is <code>on</code> for a +1 and off for the removal of a +1.
* '''lang''' – The value must be one of the [http://code.google.com/apis/+1button/#languages valid language] values for the +1 button.
* '''lang''' – The value must be one of the [http://code.google.com/apis/+1button/#languages valid language] values for the +1 button.
-
 
+
-->
</noinclude><includeonly>
</noinclude><includeonly>
<script language="JavaScript" src="https://apis.google.com/js/plusone.js">
<script language="JavaScript" src="https://apis.google.com/js/plusone.js">

Aktuální verze z 2. 4. 2013, 19:32

This widget allows you to embed Google +1 button on your wiki page.

To insert this widget, use the following code:

{{#Widget:Google PlusOne
|size=small
|count=true
}}