Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Collapsible section: Difference between revisions

Template page
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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Visible headingtitle

A short label explaining what the reader can expand.

Default
More information
Stringsuggested
Optional contentcontent

The notes or list to reveal. Normal wikitext is allowed.

Contentsuggested
Start expanded?open

Use yes to show the content initially, or no to start collapsed.

Suggested values
no yes
Default
no
Stringoptional