Template:SpoilerBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Add category)
Line 21: Line 21:


Result: {{SpoilerBox|custom=the dialogue options for this character.|This text will be hidden.}}
Result: {{SpoilerBox|custom=the dialogue options for this character.|This text will be hidden.}}
[[Category:Spoiler templates]]
</noinclude>
</noinclude>

Revision as of 16:46, 12 October 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.

It also supports custom text: {{SpoilerBox|custom=the dialogue options for this character.|This text will be hidden.}}

Result:

Concentration Icons.png Spoiler warning! This section reveals the dialogue options for this character.

This text will be hidden.