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



YumeWiki
3,036Articles

Template:CollapseStart: Difference between revisions

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="font-weight:bold; display:inline-block; margin-right:0.5em;">
<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 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>

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.

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