Widget:Like button

From Kodi
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{/doc}}</noinclude><includeonly><iframe src="http://www.facebook.com/plugins/like.php?href=<!--{$url|default:'http://jeroendedauw.com'|validate:url}-->&amp;send=false&amp;layout=<!--{$layout|default:'standard'|escape:'html'}-->&amp;width=<!--{$width|default:300|validate:int}-->&amp;show_faces=true&amp;action=like&amp;colorscheme=<!--{$colorscheme|default:'light'|escape:'html'}-->&amp;font&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:<!--{$width|default:300|validate:int}-->px; height:80px;" allowTransparency="true"></iframe></includeonly>
<noinclude>{{/doc}}</noinclude><includeonly><iframe src="http://www.facebook.com/plugins/like.php?href=<!--{$url|default:'http://jeroendedauw.com'|validate:url}-->&amp;send=false&amp;layout=<!--{$layout|default:'standard'|escape:'html'}-->&amp;width=<!--{$width|default:450|validate:int}-->&amp;show_faces=true&amp;action=like&amp;colorscheme=<!--{$colorscheme|default:'light'|escape:'html'}-->&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:<!--{$width|default:450|validate:int}-->px; height:90px;" allowTransparency="true"></iframe></includeonly>

Revision as of 18:48, 14 February 2012

This widget allows you to embed a Like button on your wiki page.

Created by Jeroen De Dauw

1 Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

This widget allows you to add a Facbook like button to your wiki page.

To insert this widget, use the following code:

{{#widget:Like button|url=http://jeroendedauw.com}}

1.1 Parameters

All parameters are required. Each parameter is separated from the others by a new line, begun with a pipe symbol "|" (don't use spaces in the code). If you want to use the default values, then the only required parameter is profile.

  • url - Url of the page to like
  • layout - layout of the widget: standard, box_count or button_count
  • width - width in pixels
  • colorscheme - light or dark

1.2 Sample result

2 Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Like button article.

Personal tools

Wiki help