Difference between revisions of "Template:Collapsible"
Jump to navigation
Jump to search
Dfirestorm (talk | contribs) m |
m (Use <onlyinclude>) |
||
| Line 1: | Line 1: | ||
| − | {| class="wikitable mw-collapsible mw-collapsed" style="width:{{{width|600}}}px;" | + | <onlyinclude>{| class="wikitable mw-collapsible mw-collapsed" style="width:{{{width|600}}}px;" |
! style="text-align:left;" | {{{1}}} | ! style="text-align:left;" | {{{1}}} | ||
|- | |- | ||
| {{{2}}} | | {{{2}}} | ||
| − | |} | + | |}</onlyinclude> |
| − | < | + | |
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 32: | Line 32: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | |||
Latest revision as of 00:20, 26 February 2026
| {{{1}}} |
|---|
| {{{2}}} |
Shows a collapsible box with a header and an expand / collapse link
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | 1 | Header text to display when both collapsed and expanded | String | required |
| Content | 2 | Content to show only when expanded | String | required |
| Width | width | Width of the collapsible box
| Number | optional |