Difference between revisions of "Widget:Iframe"

From Second Life Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
This widget allows you to embed any web page on your wiki page using an iframe tag.
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]
For instructions on using see [[{{TALKPAGENAME}}]].


== Using this widget ==
</noinclude><includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|escape:html|default:100%}-->" height="<!--{$height|escape:html|default:800}-->" scrolling="<!--{$scrolling|escape:html|default:no}-->"></iframe></includeonly>
 
To insert this widget, use the following code:
 
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
|url=http://www.google.com
|width=410
|height=342
|border=0
}}</nowiki>
 
== 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)
 
== Sample result ==
{{#widget:Iframe
|url=http://www.secondlife.com
|width=600
|height=800
|border=0
}}
 
For more information on how to use this widget, see [http://www.mediawikiwidgets.org/Iframe widget description page on MediaWikiWidgets.org].
 
</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>

Latest revision as of 11:10, 14 October 2011

This widget allows you to embed any web page on your wiki page using an iframe tag.

For instructions on using see Widget talk:Iframe.