Template:CollapsibleTitle: Difference between revisions
Jump to navigation
Jump to search
Make it smol. |
Ok |
||
| Line 4: | Line 4: | ||
<div class="mw-collapsible-toggle-placeholder"></div> | <div class="mw-collapsible-toggle-placeholder"></div> | ||
</{{{Heading}}}> | </{{{Heading}}}> | ||
{{{Content}}} | <div class="mw-collapsible-content">{{{Content}}}</div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 43: | Line 43: | ||
"description": "If the content should be collapsed by default.", | "description": "If the content should be collapsed by default.", | ||
"type": "boolean", | "type": "boolean", | ||
"default": "false" | "default": "false" | ||
} | } | ||
}, | }, | ||
Latest revision as of 07:13, 3 December 2025
Creates a collapsible titled block of wiki content. The title is always visible.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Heading | Heading | What heading value to use on the title.
| String | required |
| Title | Title | Title for this block of text that will not be hidden when collapsed. | String | required |
| Content | Content | The content that will be hidden when this block is collapsed. | String | required |
| Collapsed | Collapsed | If the content should be collapsed by default.
| Boolean | optional |