m (ZASNK moved page Template:SpoilerSectionStart to Template:CollapseStart: make generic) |
(bring back forced bold but within a new option to change style) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="mw-collapsible mw-collapsed" style="overflow:auto;"><div style=" | <div class="mw-collapsible mw-collapsed {{{class|{{{2|}}}}}}" style="overflow:auto;"><div style="display:inline-block; margin-right:0.5em; {{{style|{{{3|font-weight:bold;}}}}}}"> | ||
{{{label|{{{1|Spoilers:}}}}}} | {{{label|{{{1|Spoilers:}}}}}} | ||
</div><div class="mw-collapsible-toggle" style="float:none; display:inline-block;">[Show/Hide]</div><div class="mw-collapsible-content" style="clear:both;"><noinclude>This text is part of the template doc. Hi!</div></div> | </div><div class="mw-collapsible-toggle" style="float:none; display:inline-block;">[Show/Hide]</div><div class="mw-collapsible-content" style="clear:both;"><noinclude>This text is part of the template doc. Hi!</div></div> | ||
Used to hide | Used to hide content behind a collapsible section. Pair with {{t|CollapseEnd}}. | ||
==Parameters== | |||
<templatedata> | |||
{ | |||
"description": "Start of a collapsible section.", | |||
"format": "block", | |||
"params": { | |||
"label": { | |||
"label": "label", | |||
"aliases": ["1"], | |||
"description": "The text to display before the [Show/Hide] button. Supports wikitext such as italics and headers.", | |||
"default": "'''Spoilers:'''", | |||
"type": "content", | |||
"suggested": true | |||
} | |||
} | |||
}</templatedata> | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:10, 17 August 2024
Spoilers:
[Show/Hide]
This text is part of the template doc. Hi!
Used to hide content behind a collapsible section. Pair with {{CollapseEnd}}.
Parameters
Start of a collapsible section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
label | label 1 | The text to display before the [Show/Hide] button. Supports wikitext such as italics and headers.
| Content | suggested |