Difference between revisions of "Widget:Iframe"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
|width=410 | |width=410 | ||
|height=342 | |height=342 | ||
− | |border= | + | |border=0 |
}}</nowiki> | }}</nowiki> | ||
Line 19: | Line 19: | ||
* '''height''' - width of the iframe (default is 300) | * '''height''' - width of the iframe (default is 300) | ||
* '''border''' - border width (default is 1) | * '''border''' - border width (default is 1) | ||
+ | *::1 - looks depressed | ||
+ | *::0 - looks flat | ||
== Sample result == | == Sample result == | ||
Line 25: | Line 27: | ||
|width=410 | |width=410 | ||
|height=342 | |height=342 | ||
− | |border= | + | |border=0 |
}} | }} | ||
</noinclude><includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|validate:int|default:400}-->" height="<!--{$height|validate:int|default:300}-->"></iframe></includeonly> | </noinclude><includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|validate:int|default:400}-->" height="<!--{$height|validate:int|default:300}-->"></iframe></includeonly> |
Latest revision as of 10:30, 12 May 2010
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.
{{#widget:Iframe |url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8 |width=410 |height=342 |border=0 }}
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)
- 1 - looks depressed
- 0 - looks flat
Sample result