Widget:Iframe

From XPUB & Lens-Based wiki
Revision as of 18:57, 7 January 2025 by Michael Murtaugh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This widget allows you to embed an iframe on your wiki page.

Hacked together by Michael

Using this widget

 {{#Widget:Iframe|src=http://url.to/|width=|height=|style=}}
 

Default width is 320 and height is 240.

For example:

 {{#Widget:Iframe|src=https://xpub.nl/|style=height:200px;float:right;}}
 

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 Widget:Iframe article.