Difference between revisions of "Template:Collapsible"

From The Perfect Tower II
Jump to navigation Jump to search
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>
<noinclude>
+
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 32: Line 32:
 
}
 
}
 
</templatedata>
 
</templatedata>
</noinclude>
 

Latest revision as of 00:20, 26 February 2026

{{{1}}}
{{{2}}}

Shows a collapsible box with a header and an expand / collapse link

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Title1

Header text to display when both collapsed and expanded

Stringrequired
Content2

Content to show only when expanded

Stringrequired
Widthwidth

Width of the collapsible box

Default
600
Example
450
Numberoptional