Widget:FBS: Różnice pomiędzy wersjami
Z Nurkopedia
(Utworzono nową stronę "<noinclude>__NOTOC__ This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin Facebook Page Plugin]''' (iframe version) on your wik...") |
|||
(Nie pokazano 20 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
− | This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin | + | This widget allows you to embed a '''[https://developers.facebook.com/docs/plugins/page-plugin Embedded Page]''' (iframe version) on your wiki page. |
− | + | Adapted by [[User:MIG|MIG]] from the [https://www.mediawikiwidgets.org/Facebook_Like_Box Facebook Like Box]] widget by [https://www.mediawikiwidgets.org/User:Chris_White Chris White]. | |
− | Adapted by [[User: | ||
− | |||
==Copy to your site== | ==Copy to your site== | ||
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. | 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. | ||
− | </noinclude><includeonly><iframe src="//www.facebook.com/plugins/page.php?href=<!--{$profile}-->& | + | </noinclude> |
+ | </noinclude> | ||
+ | <includeonly> | ||
+ | <style> | ||
+ | table, th, td { | ||
+ | border: 1px solid black; | ||
+ | border-collapse: collapse; | ||
+ | border-color: #cccccc; | ||
+ | background-color: #f9f9f9; | ||
+ | } | ||
+ | </style> | ||
+ | <table> | ||
+ | <tr> | ||
+ | <th> | ||
+ | <iframe src="//www.facebook.com/plugins/page.php?href= | ||
+ | <!--{$profile}-->& | ||
+ | width=<!--{$width|default:500|escape:'urlpathinfo'}-->& | ||
+ | height=<!--{$height|default:230|escape:'urlpathinfo'}-->& | ||
+ | appId" | ||
+ | width="<!--{$width|default:500|escape:'urlpathinfo'}-->" | ||
+ | height="<!--{$height|default:230|escape:'urlpathinfo'}-->" | ||
+ | style="border:none; overflow:hidden;" | ||
+ | scrolling="no" | ||
+ | allowTransparency="true"> | ||
+ | </iframe> | ||
+ | </th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><p><!--{$opis|default:""}--> <a href=www.facebook.com>Profil Facbook.</a></p></td> | ||
+ | </tr> | ||
+ | </table><br> | ||
+ | </includeonly> |
Aktualna wersja na dzień 07:40, 9 lip 2018
This widget allows you to embed a Embedded Page (iframe version) on your wiki page. Adapted by MIG from the Facebook Like Box] widget by Chris White.
Copy to your site
To use this widget on your site, just install the Widgets extension and copy the full source code of this page to your wiki as FBS article.