692 bytes added
, 17:41, 22 June 2012
<noinclude>This allows a Facebook '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>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-like" data-send="false" data-width="450" data-show-faces="false" data-action="recommend" data-font="arial"></div></includeonly>