Template:Doc/start This is a template for creating boxes that start collapsed, but can be expanded by clicking a "show" link on the side.
Usage
The box it creates is part of the class "collapsible collapsed", and it has some minor customisation options.
Parameters
I would suggest using this when using the template:
{{User:Numbermaniac/Template:CollapseBox
| style =
| text =
| content=
}}
Examples
- Example 1
{{User:Numbermaniac/Template:CollapseBox
| style= "font-size:large; color:#F00"
| text = This is the text that will be displayed regardless of whether the box is expanded or not.
| content = This content can only be seen by clicking "show".
}}
- Result
| This is the text that will be displayed regardless of whether the box is expanded or not. |
|---|
| This content can only be seen by clicking "show". |
Note: If a background color is not given, it may be difficult to realize there is actually a box there. Template:Doc/end