Template:Collapsible section: Difference between revisions
Template page
More actions
Content deleted Content added
DivošiRunner (talk | contribs) Unify archive styling and navigation; improve template forms and upload guidance |
DivošiRunner (talk | contribs) Polish the homepage and public search/link previews; keep template metadata scoped |
||
| Line 37: | Line 37: | ||
"format": "block" |
"format": "block" |
||
}</templatedata> |
}</templatedata> |
||
{{Page metadata|page=Template:Collapsible section|description=A reusable collapsible section for supplementary page content, with a title and an optional open state.}} |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 21:11, 27 October 2026
Reusable native disclosure for optional supplementary content. See documentation.
An expandable block for optional notes. Keep essential content outside it.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Visible heading | title | A short label explaining what the reader can expand.
| String | suggested |
| Optional content | content | The notes or list to reveal. Normal wikitext is allowed. | Content | suggested |
| Start expanded? | open | Use yes to show the content initially, or no to start collapsed.
| String | optional |