×
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

(remove forced bold + add templatedata)
(bring back forced bold but within a new option to change style)
Line 1: Line 1:
<div class="mw-collapsible mw-collapsed" style="overflow:auto;"><div style="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>



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