Template:Collapsible
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Create a collapsible using collapsible elements.
Syntax
{{Collapsible|collapsible content|button text|collapsed = set to 1 to collapsed}}
Examples
Placeholder Content
This content is visible by default
Template Data
Create a collapsible using Collapsible elements.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Collapsible Content | 1 | The content to display in collapsible.
| String | suggested |
| Button Text | 2 | Text to display on collapsible toggle.
| String | suggested |
| Set Collapsed | collapsed | Set to "1" to display content as collapsed. | Boolean | optional |
| Expand Button Text | expand_text | Text prompt on button text expand.
| String | optional |
| Collapse Button Text | collapse_text | Text prompt on button to collapse.
| String | optional |
| Expand Arrow Text | expand_arrow | Text on sides of button text to expand.
| String | optional |
| Collapse Arrow Text | collapse_arrow | Text on sides of button text to collapse.
| String | optional |
| No Arrow Text | no_arrow | Set to "1" to hide sides of button text. | Boolean | optional |
| No Left Arrow Text | no_left_arrow | Set to "1" to hide left side of button text. | Boolean | optional |
| No Right Arrow Text | no_right_arrow | Set to "1" to hide right side of button text. | Boolean | optional |
| Collapsible's CSS | style | Custom CSS to apply on the collapsible element, without enclosing quotation marks
| String | suggested |