Ad placeholder

Template:SpoilerBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Taylan moved page Template:Spoilers to Template:SpoilerBox without leaving a redirect)
No edit summary
Line 1: Line 1:
<includeonly>{{SpoilerWarning}}
<includeonly><div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers">
'''Spoiler warning!  This section reveals details about the story of ''Baldur's Gate 3''.'''
<div class="mw-collapsible-content">{{{1}}}</div>
</div></includeonly><noinclude>
Usage: {{code|<nowiki>{{SpoilerBox|This text will be hidden.}}</nowiki>}}


<spoiler>{{{1}}}</spoiler></includeonly><noinclude>
Result: {{SpoilerBox|This text will be hidden.}}
Use this for spoilers, like so:
 
Usage: {{code|<nowiki>{{spoilers|This text will be hidden.}}</nowiki>}}
 
Result: {{spoilers|This text will be hidden.}}
</noinclude>
</noinclude>

Navigation menu