Widget talk:Iframe: Difference between revisions
Jump to navigation
Jump to search
Rand Linden (talk | contribs) No edit summary |
Rand Linden (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
== Sample result == | == Sample result == | ||
Example: | |||
{{#widget:Iframe | {{#widget:Iframe | ||
|url=http://www.secondlife.com | |url=http://www.secondlife.com/ | ||
|width=600 | |width=600 | ||
|height=800 | |height=800 |
Latest revision as of 10:14, 16 August 2011
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
Example:
Error in widget Iframe: Syntax error in template "wiki:wiki:Iframe" on line 1 "<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>" - Unexpected "}-->"
For more information on how to use this widget, see widget description page on MediaWikiWidgets.org.