m (ZASNK moved page Template:SpoilerSectionStart to Template:CollapseStart: make generic) |
(remove forced bold + add templatedata) |
||
Line 1: | Line 1: | ||
<div class="mw-collapsible mw-collapsed" style="overflow:auto;"><div style=" | <div class="mw-collapsible mw-collapsed" style="overflow:auto;"><div style="display:inline-block; margin-right:0.5em;"> | ||
{{{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> |
Revision as of 07:46, 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 |