Template:Collsec: Difference between revisions
From VNDev Wiki
m title fix |
m added documentation transclude |
||
Line 3: | Line 3: | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{{content|{{{2|}}}}}} | {{{content|{{{2|}}}}}} | ||
</div></div> | </div></div><noinclude>{{documentation}}</noinclude> |
Revision as of 07:18, 19 December 2024
No title supplied
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.
The above documentation is transcluded from Template:Collsec/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |