Difference between revisions of "Widget:Iframe"

From TSAS Library
Jump to: navigation, search
(Created page with "<includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|escape:html|default:400}-->" height="<!--{$heigh...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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>
<noinclude>To insert this widget, use the following code:
 
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
|width=410
|height=342
|border=0
}}</nowiki>
 
== Parameters ==
* '''url''' - URL of page being inserted
* '''width''' - width of the iframe (default is 400)
* '''height''' - height of the iframe (default is 300)
* '''border''' - border width (default is 1)</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}-->" allowfullscreen="<!--{$allowfullscreen|default:yes}-->" webkitallowfullscreen="<!--{$webkitallowfullscreen|default:yes}-->"></iframe></includeonly>

Latest revision as of 21:16, 27 November 2016

To insert this widget, use the following code:

{{#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 - height of the iframe (default is 300)
  • border - border width (default is 1)