Template:SpoilerBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 3: Line 3:
[[File:{{#switch: {{{act|}}} | 1 = Ico_knownSpells_lvl_01.png| 2 = Ico_knownSpells_lvl_02.png| 3 = Ico_knownSpells_lvl_03.png|Concentration Icons.png}}|{{#if:{{{act|}}}| 1 = 24px|32px}}|link=]] ''' {{color|#ebb73f|{{#switch: {{{act|}}} | 1 = Act 1 Spoilers!| 2 = Act 2 Spoilers!| 3 = Act 3 Spoilers!|Spoiler warning!}}}} This section reveals details about the story of ''Baldur's Gate 3''.'''
[[File:{{#switch: {{{act|}}} | 1 = Ico_knownSpells_lvl_01.png| 2 = Ico_knownSpells_lvl_02.png| 3 = Ico_knownSpells_lvl_03.png|Concentration Icons.png}}|{{#if:{{{act|}}}| 1 = 24px|32px}}|link=]] ''' {{color|#ebb73f|{{#switch: {{{act|}}} | 1 = Act 1 Spoilers!| 2 = Act 2 Spoilers!| 3 = Act 3 Spoilers!|Spoiler warning!}}}} This section reveals details about the story of ''Baldur's Gate 3''.'''
<div class="mw-collapsible-content noexcerpt" 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>:''Be sure to consult [[Help:Spoiler Policy]] before using this template.''<br>
Usage: {{code|<nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki>}}
Usage: {{code|<nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki>}}



Revision as of 12:50, 29 September 2023

Be sure to consult Help:Spoiler Policy before using this template.

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.

Per Act spoilers: {{SpoilerBox|act=2|This text will be hidden.}}

Result:

1 = 24px Act 2 Spoilers! This section reveals details about the story of Baldur's Gate 3.

This text will be hidden.