yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

Template:Collapsesection/doc

From 2swagg wiki
Jump to navigationJump to search
If this doesn't work, you can use {{collapsesection top}} and {{collapsesection bottom}}. Look at those templates source code to figure out how they work.

Usage[edit source]

{{cs|A|B|C|D}}

A: Unique ID for the section, no spaces. Required for technical reasons. Hint: The section name with no spaces works.

B: The section name.

C: The section content.

D: The initial state. 0 = collapsed, anything else = expanded.

Description[edit source]

This is a collapsing section template.

[-+] Example

expanded it again award


Creates a collapsible subsection.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ID1

Unique ID for the collapsable section. No spaces.

Unknownrequired
Name2

The section name.

Unknownoptional
Content3

The section content.

Unknownoptional
Default state4

0 = collapsed, 1 = expanded

Default
0
Booleansuggested
Headerheader

Changes the header type. Accepted values are: 1, 2, 3, 4, 5

Default
2
Stringoptional