Help:Collapsing

Collapsing is a feature to collapse/hide any element. With the release of MediaWiki 1.19, this is now handled internally by the software.

Getting started
To make an element collapsible, add the class " " to it.



This class can be applied to any HTML element. For example: Gives: This text is collapsible.

To set the initial state as collapsed add " ", such as seen in the following table:

You can also specify which part is the collapsible content.

Gives: This text is not collapsible; but the next is collapsible and hidden by default: This text should be hidden by default.