yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

Template:Collapsesection/doc

From 2swagg wiki
Revision as of 08:28, 15 October 2026 by Bulgogi2 (talk | contribs) (Created page with "{{Tip|If this doesn't work, you can use {{t|collapsesection top}} and {{t|collapsesection bottom}}. Look at those templates source code to figure out how they work.}} === Usage === <code><nowiki>{{cs|A|B|C|D}}</nowiki><nowiki></nowiki></code> A: Unique ID for the section, no spaces. Required for {{Glow|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 = exp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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