Ad placeholder

Template:SpoilerBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="mw-collapsible mw-collapsed" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="background: linear-gradient(to right, #443E20, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;">
<includeonly><div class="mw-collapsible mw-collapsed" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="{{#switch:{{{1|}}} | nograd = background:transparent; | background: linear-gradient(to right, #443E20, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;}}">


[[File:Prerequisite Icon.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This section reveals details about the story of ''Baldur's Gate 3''.'''
[[File:Prerequisite Icon.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="background:#232323; border-radius:10px; padding: 15px;">{{{1}}}</div>
<div class="mw-collapsible-content" style="{{#switch:{{{1|}}} | 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>}}


Result: {{SpoilerBox|This text will be hidden.}}
Result: {{SpoilerBox|This text will be hidden.}}
If you don't want the gradient use nograd:
Usage: {{code|<nowiki>{{SpoilerBox|nograd|This text will be hidden.}}</nowiki>}}
Result: {{SpoilerBox|nograd|This text will be hidden.}}
</noinclude>
</noinclude>
7,068
edits

Navigation menu