Widget:Iframe: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
Line 7: Line 7:


  <nowiki>
  <nowiki>
  {{#Widget:Iframe|src=http://url.to/|style=}}
  {{#Widget:Iframe|src=http://url.to/|width=|height=|style=}}
  </nowiki>
  </nowiki>
Default width is 320 and height is 240.


For example:
For example:

Latest revision as of 18:57, 7 January 2025

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.