Template:Collapsible/doc

From WikiEducator
Jump to: navigation, search

This template is used to make a collapsible region that the user can expose/hide with a mouse click. The first parameter determines if the region is hidden to begin with (1, hide, hidden, collapsed are all accepted). The second parameter is the header for the region and the third parameter is the body that can be hidden/displayed.

Examples

 {{Collapsible|
 |Displayed by Default
 |
* Item 1
* Item 2
* Item 3
 }}
Displayed by Default
  • Item 1
  • Item 2
  • Item 3
{{Collapsible|hide
|Hidden by Default
|
* Item 1
* Item 2
* Item 3
}}