Difference between revisions of "Widget:Iframe"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 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 ==


To insert this widget, use the following code:
To insert this widget, use the following code:
Line 23: Line 28:
|border=0
|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>

Revision as of 10:07, 16 August 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

To insert this widget, use the following code:

{{#widget:Iframe
|url=http://www.google.com
|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)

Sample result

Error in widget Iframe: Syntax error in template "wiki:wiki:Iframe" on line 1 "<iframe src="" frameborder="" width="" height="" scrolling=""></iframe>" - Unexpected "}-->"

For more information on how to use this widget, see widget description page on MediaWikiWidgets.org.