Difference between revisions of "Widget:Iframe"

From Sugar Labs
Jump to navigation Jump to search
(Created page with '<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 Serge…')
 
Line 11: Line 11:
 
|width=410
 
|width=410
 
|height=342
 
|height=342
|border=0
+
|border=1
 
}}</nowiki>
 
}}</nowiki>
  
Line 25: Line 25:
 
|width=410
 
|width=410
 
|height=342
 
|height=342
|border=0
+
|border=1
 
}}
 
}}
 
</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>

Revision as of 16:56, 9 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=1
}}

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