Widget:Like button/doc

From Official Kodi Wiki
Jump to navigation Jump to search

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

Created by Jeroen De Dauw

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/doc|url=http://jeroendedauw.com}}

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

Sample result

__NOTOC__ This widget allows you to embed a '''[http://developers.facebook.com/docs/reference/plugins/like/ Like button]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/User:Jeroen_De_Dauw Jeroen De Dauw] == Using this widget == For information on how to use this widget, see [http://www.mediawikiwidgets.org/Like_button widget description page on MediaWikiWidgets.org]. This widget allows you to add a '''[http://developers.facebook.com/docs/reference/plugins/like/ Facbook like button]''' to your wiki page. To insert this widget, use the following code: {{#widget:{{PAGENAME}}|url=http://jeroendedauw.com}} === 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 === Sample result === {{#widget:{{PAGENAME}}|url=http://jeroendedauw.com}} ==Copy to your site== To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article.

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/doc article.