Widget:Google PlusOne

Z Multimediaexpo.cz

(Rozdíly mezi verzemi)
(Google PlusOne)
m (Zamyká „Widget:Google PlusOne“: Prevence...svůj požadavek můžete vložit na diskusní stránku ([edit=sysop] (do odvolání) [move=sysop] (do odvolání)))

Verze z 2. 4. 2013, 19:24

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
}}

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.
  • size – The button size to load. tall, medium, standard and small
  • count – Indicates whether or not to render an aggregate count. This option is not available for tall!
  • 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, {"href": "http://www.example.com/", "state": "on"}. Where href is the URL of the +1 and state is on for a +1 and off for the removal of a +1.
  • lang – The value must be one of the valid language values for the +1 button.