Template:SpoilerBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


[[File:Concentration Icons.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This section reveals details about the story of ''Baldur's Gate 3''.'''
[[File:Concentration Icons.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This section reveals details about the story of ''Baldur's Gate 3''.'''
<div class="mw-collapsible-content" style="{{#if:{{{nograd|}}} | background:transparent; | background:#232323; border-radius:10px; padding: 15px;}}">{{{1}}}</div>
<div class="mw-collapsible-content noexcerpt" style="{{#if:{{{nograd|}}} | background:transparent; | background:#232323; border-radius:10px; padding: 15px;}}">{{{1}}}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Usage: {{code|<nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki>}}
Usage: {{code|<nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki>}}

Revision as of 15:43, 28 August 2023

Usage: {{SpoilerBox|This text will be hidden.}}

Result:

Concentration Icons.png Spoiler warning! This section reveals details about the story of Baldur's Gate 3.

This text will be hidden.

If you don't want the gradient use nograd:

Usage: {{SpoilerBox|nograd=1|This text will be hidden.}}

Result:

Concentration Icons.png Spoiler warning! This section reveals details about the story of Baldur's Gate 3.

This text will be hidden.