Template:Show: Difference between revisions
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="NavFrame {{{collapsed|collapsed}}}"><div class="NavHead">{{{1}}} </div><div class="NavContent">{{{2}}}</div></div></includeonly><noinclude> | <includeonly><div class="NavFrame {{{collapsed|collapsed}}}"><div class="NavHead">{{{1}}} </div><div class="NavContent">{{{2}}}</div></div></includeonly><noinclude> | ||
This template produces a [show]/[hide] frame that can be hidden or shown on initial display of a wiki page. | This template produces a [show ▼]/[hide ▲] frame that can be hidden or shown on initial display of a wiki page. | ||
==Usage== | ==Usage== | ||
| Line 12: | Line 12: | ||
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 | #* 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. | ||
* See [[Template:Iframe]] for a way to show/hide full web pages. | * See [[Template:Iframe]] for a way to show/hide full web pages. | ||