Line 1: |
Line 1: |
− | <includeonly><div class="mw-collapsible {{{mw-collapsed|mw-collapsed}}}" data-collapsetext="hide ▲" data-expandtext="show ▼">{{{1}}} <div class="mw-collapsible-content">{{{2}}}</div></div></includeonly><noinclude> | + | <includeonly><div class="mw-collapsible {{{collapsed|mw-collapsed}}}" data-collapsetext="hide ▲" data-expandtext="show ▼">{{{1}}} <div class="mw-collapsible-content">{{{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== |
− | <code><nowiki>{{Show|mw-collapsed=mw-collapsed|headline|content}}</nowiki></code> | + | <code><nowiki>{{Show|collapsed=mw-collapsed|headline|content}}</nowiki></code> |
| | | |
| Required parameters: | | Required parameters: |
Line 11: |
Line 11: |
| | | |
| Optional, named parameter: | | Optional, named parameter: |
− | # mw-collapsed -- may have one of 2 possible values: | + | # collapsed -- may have one of 2 possible values: |
| #* mw-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. |
Line 18: |
Line 18: |
| ==Example== | | ==Example== |
| | | |
− | <span style="white-space:pre-wrap"><nowiki>{{Show|mw-collapsed=|Terminal output log: |<pre>[root@Dell-8400 ~]# df -Th | + | <span style="white-space:pre-wrap"><nowiki>{{Show|collapsed=|Terminal output log: |<pre>[root@Dell-8400 ~]# df -Th |
| Filesystem Type Size Used Avail Use% Mounted on | | Filesystem Type Size Used Avail Use% Mounted on |
| /dev/sda1 ext4 18G 11G 6.8G 61% / | | /dev/sda1 ext4 18G 11G 6.8G 61% / |