Widget:Iframe
Aus Fuldawiki
(Unterschied zwischen Versionen)
Karin (Diskussion | Beiträge) |
|||
Zeile 1: | Zeile 1: | ||
- | This widget allows you to add any page within an iframe tag to your site. | + | <noinclude>__NOTOC__ |
+ | This widget allows you to embed any web page on your wiki page using an iframe tag. | ||
+ | |||
+ | Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev] | ||
+ | |||
+ | == Using this widget == | ||
+ | For information on how to use this widget, see [http://www.mediawikiwidgets.org/Iframe widget description page on MediaWikiWidgets.org]. | ||
+ | |||
+ | == Copy to your site == | ||
+ | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
+ | </noinclude><includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|escape:html|default:400}-->" height="<!--{$height|escape:html|default:300}-->"></iframe></includeonly> | ||
+ | |||
+ | |||
+ | <!--This widget allows you to add any page within an iframe tag to your site. | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
Zeile 9: | Zeile 22: | ||
|border=0 | |border=0 | ||
}}</nowiki> | }}</nowiki> | ||
- | + | --> | |
== Parameters == | == Parameters == | ||
* '''url''' - URL of page being inserted | * '''url''' - URL of page being inserted |
Version vom 17:47, 17. Jul. 2011
This widget allows you to embed any web page on your wiki page using an iframe tag.
Created by Sergey Chernyshev
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
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.
Parameters
- url - URL of page being inserted
- width - width of the iframe (default is 400)
- height - width of the iframe (default is 300)
- border - border width (default is 1)