Template:SpoilerBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 16: Line 16:
Per Act spoilers: {{code|<nowiki>{{SpoilerBox|act=2|This text will be hidden.}}</nowiki>}}
Per Act spoilers: {{code|<nowiki>{{SpoilerBox|act=2|This text will be hidden.}}</nowiki>}}


Result: {{SpoilerBox|act=2|This text will be hidden.}}
Result: {{SpoilerBox|act=1|This text will be hidden.}}
</noinclude>
</noinclude>

Revision as of 10:56, 19 September 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.

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

Result:

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

This text will be hidden.