Difference between revisions of "Template:Collapsible"
Jump to navigation
Jump to search
(Created page with "{| class="wikitable mw-collapsible mw-collapsed" style="width:{{{width|600}}}px;" ! style="text-align:left;" | {{{1}}} |- | {{{2}}} |}<noinclude> <templatedata> { "params": {...") |
m (Use <onlyinclude>) |
||
| (One intermediate revision by one other user not shown) | |||
| 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 31: | 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 |