|
|
Linia 1: |
Linia 1: |
− | <noinclude>__NOTOC__ | + | <includeonly> |
− | This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin Embedded Posts]''' (iframe version) on your wiki page.
| + | <iframe src="//www.facebook.com/plugins/page.php?href= |
− | | + | <!--{$profile}-->& |
− | Adapted by [[User:Alianin|Alianin]] from the [[Widget:Facebook Like Box|Facebook Like Box]] widget by [[User:Chris White|Chris White]].
| + | width=<!--{$width|default:500|escape:'urlpathinfo'}-->& |
− | | + | height=<!--{$height|default:500|escape:'urlpathinfo'}-->& |
− | ==Copy to your site==
| + | appId" |
− | To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets Widgets] extension and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article.
| + | width="<!--{$width|default:500|escape:'urlpathinfo'}-->" |
− | </noinclude><includeonly><iframe src="//www.facebook.com/plugins/page.php?href=<!--{$profile}-->&tabs=<!--{$tabs}-->&width=<!--{$width|default:340|escape:'urlpathinfo'}-->&height=<!--{$height|default:130|escape:'urlpathinfo'}-->&small_header=<!--{$small_header|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&adapt_container_width=<!--{$adapt_width|default:true|escape:'urlpathinfo'|validate:'boolean'}-->&hide_cover=<!--{$hide_cover|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&show_facepile=<!--{$faces|default:false|escape:'urlpathinfo'|validate:'boolean'}-->&appId" width="<!--{$width|default:340|escape:'urlpathinfo'}-->" height="<!--{$height|default:130|escape:'urlpathinfo'}-->" style="border:none; overflow:hidden;" scrolling="no" allowTransparency="true"></iframe></includeonly>
| + | height="<!--{$height|default:500|escape:'urlpathinfo'}-->" |
| + | style="border:none; overflow:hidden;" |
| + | scrolling="no" |
| + | allowTransparency="true"> |
| + | </iframe> |
| + | </includeonly> |