Changes

Jump to navigation Jump to search
1,731 bytes added ,  00:57, 14 April 2010
Created page with '<includeonly><div class="NavFrame {{{collapsed|collapsed}}}"><div class="NavHead">{{{1}}} </div><div class="NavContent">{{#widget:Iframe |url={{{2}}} |width={{{3}}} |height={{{4}…'
<includeonly><div class="NavFrame {{{collapsed|collapsed}}}"><div class="NavHead">{{{1}}} </div><div class="NavContent">{{#widget:Iframe
|url={{{2}}}
|width={{{3}}}
|height={{{4}}}
|border={{{5|1}}}
}}</div></div></includeonly><noinclude>{{TOCright}}

This template is used to dynamically reveal another web page within a wiki page. It is wrapped in a collapsible frame so that the retrieved page can be hidden or revealed through a [show]/[hide] frame on the wiki page.

See [[Widget:Iframe]] for information on the wiki extension enabling this feature.

==Usage==
<big><code><nowiki>{{Iframe|collapsed=collapsed|headline|URI|width|height|border}}</nowiki></code></big>

Required parameters:
# headline - the line of wiki text, for example, a link to remote content or just a header
# URI - the web page to be retrieved.

Optional, named parameter:
# collapsed -- may have one of 2 possible values:
#* collapsed -- (the default) -- hides the content and produces a [show] link after the headline
#* &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- (nothing) entered as <big><code>|collapsed=|</code></big> -- the content will show below the header, which will have a [hide] link next to it.

Optional, positional parameters:
# width - frame width in pixels
# height - frame height
# border - number - representing
#* 0 - no border
#* 1 - indented border

==Example==

Using an aliased link as the headline:
<big>
<pre><nowiki>{{Iframe|[http://activities.sugarlabs.org Sugar Activity Library]|http://activities.sugarlabs.org
|900|600|1}}</nowiki>
</pre></big>
===Result===
{{Iframe|[http://activities.sugarlabs.org Sugar Activity Library]|http://activities.sugarlabs.org
|900|600|1}}

</noinclude>

Navigation menu