Widget:Iframe

Материал из Kor WiKi
Перейти к: навигация, поиск

Шаблон:Widget This widget allows you to add a Facebook Page Like Box to your wiki page.

To insert this widget, use the following code:

{{#widget:Iframe|profile=http://www.facebook.com/pages/MyTownWiki/190228370997070}}

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.

  • profile - URL of page on Facebook (e.g. http://www.facebook.com/pagename or http://www.facebook.com/pages/MyTownWiki/190228370997070). This should match the URL shown when the person's profile is on-screen; no other code in the URL should be copied, i.e. "&sk=wall".
  • width - width in pixels for the box; this should only be a number, no "px". Defaults to 300.
  • height - height in pixels for the box; this should only be a number, no "px". Defaults to 556. If you set faces and stream to false, set height to 63 for accurate rendering. If you set only faces to false, set height to 395. If you set only stream to false, set height to 258.
  • theme - light and dark. Defaults to light.
  • faces - true or false to show or hide faces of people who like the page. Defaults to true.
  • stream - true or false to show a live feed of the page's wall. Defaults to true.
  • border_color - when set, defines border color of the box
  • force_wall - (for places) if specified enables posts from the Place's wall in addition to checkins from friends.

Sample result

Шаблон:Comments

Личные инструменты
Пространства имён
Варианты
Действия
Навигация
Инструменты
Поделиться