×
Create a new article
Write your page title here:
We currently have 2,862 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,862Articles

Template:CollapseStart: Difference between revisions

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="font-weight:bold; display:inline-block; margin-right:0.5em;">
<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 spoiler content behind a collapsible section. Pair with [[Template:SpoilerSectionEnd|SpoilerSectionEnd]].
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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
labellabel 1

The text to display before the [Show/Hide] button. Supports wikitext such as italics and headers.

Default
'''Spoilers:'''
Contentsuggested