Extension:IDisplay/zh

The iDisplay extension allows MediaWiki pages to embed external web pages. It also allows setting an option to put a blocking page in front of it, so you prevent loading the page until the user wants to load the page.

Parser functions
The extension has one parser function:
 * #idisplay displays a webpage.

Usage
To display pages call the following:

Explanation:


 * The URL you want to display
 * The WIDTH of the iFrame
 * The HEIGHT of the iFrame
 * If SAFE == 1 then there will be the blocking page in between.

For example:

You do not need to define all parameters, but you must keep the order!

页面拟合
You might cannot get the iframe to fit the page. A guest user suggested this workaround / fix:

Paste this code into your "common.css" page ("MediaWiki:Common.css")

Source

参见

 * - allows for the "iframe" widget