Template:Divhide

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit]

This template will allow you to collapse a section of a page. The first paramater is the title of the collapse section, and the second (optional paramater) is the width. To close the section, use {{divhide|end}}.

Examples
{{divhide|Test}}
This is the hidden contents.
{{divhide|end}}
{{divhide|Half test|50%}}
This is the hidden contents and only takes up 50% of the page.
{{divhide|end}}

You may also use the paramater "show=yes" to show the contents by default.

{{divhide|Show and test|show=yes}}
This section is shown by default.
{{divhide|end}}

See also[edit]

  • {{Divbox}} - allows you to create coloured text background