Template:Iframe: Difference between revisions
mNo edit summary |
update collapsible code. See Wiki Team/Guide/Collapsible content. |
||
| Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><div class="mw-collapsible {{{collapsed|mw-collapsed}}}" data-collapsetext="hide ▲" data-expandtext="show ▼">{{{1}}} <div class="mw-collapsible-content">{{#widget:Iframe | ||
|url={{{2}}} | |url={{{2}}} | ||
|width={{{3}}} | |width={{{3}}} | ||
| Line 11: | Line 11: | ||
==Usage== | ==Usage== | ||
<big><code><nowiki>{{Iframe|collapsed=collapsed|headline|URI|width|height|border}}</nowiki></code></big> | <big><code><nowiki>{{Iframe|collapsed=mw-collapsed|headline|URI|width|height|border}}</nowiki></code></big> | ||
Required parameters: | Required parameters: | ||
| Line 19: | Line 19: | ||
Optional, named parameter: | Optional, named parameter: | ||
# collapsed -- may have one of 2 possible values: | # collapsed -- may have one of 2 possible values: | ||
#* collapsed -- (the default) -- hides the content and produces a [show ▼] link after the headline | #* mw-collapsed -- (the default) -- hides the content and produces a [show ▼] link after the headline | ||
#* -- (nothing) entered as <big><code>|collapsed=|</code></big> -- the content will show below the header, which will have a [hide ▲] link next to it. | #* -- (nothing) entered as <big><code>|collapsed=|</code></big> -- the content will show below the header, which will have a [hide ▲] link next to it. | ||