Template:Collsec: Difference between revisions

From VNDev Wiki
class collsec
m remove no-invert
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 12:35, 15 February 2025

No title supplied
Documentation icon Template documentation [view] [edit] [purge]

Usage

Creates a collapsible section. Used heavily on List of DevTalk daily message skits, but can freely be used elsewhere.

{{collsec
| title =
| content =
| width=85%
}}

Specifying 'title' and 'content' are optional. If not specified, the first and second unlabeled parameters (respectively) will be used.

If specifying a width, provide it in percentage, rather than px, to improve responsive design. As a general rule, do not set widths larger than 85% (the default) to ensure proper mobile formatting.