Template:SpoilerBox: Difference between revisions

Jump to navigation Jump to search
m
use vars for colors
No edit summary
Tag: Reverted
m (use vars for colors)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div class="mw-collapsible {{#switch: {{{unhide|}}} | 1 = mw-expanded | yes = mw-expanded | mw-collapsed}}" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="{{#if:{{{nograd|}}} | background:transparent; | background: linear-gradient(to right, #443E20, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;}}">
<includeonly><div class="mw-collapsible {{#switch: {{{unhide|}}} | 1 = mw-expanded | yes = mw-expanded | mw-collapsed}}" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="{{#if:{{{nograd|}}} | background:transparent; | background: linear-gradient(to right, var(--bg3wiki-spoiler-warning-start), var(--bg3wiki-spoiler-warning-end), var(--bg3wiki-spoiler-warning-end), var(--bg3wiki-spoiler-warning-end)); align-items:center; border-radius:10px; padding: 5px;}}">


[[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 One Spoilers!| 2 = Act Two Spoilers!| 3 = Act Three Spoilers!|Spoiler warning!}}}} This section reveals {{#if:{{{custom|}}} | {{{custom}}} |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}}|24px|link=]] ''' {{color|#ebb73f|{{#switch: {{{act|}}} | 1 = Act 1 Spoilers!| 2 = Act 2 Spoilers!| 3 = Act 3 Spoilers!|Spoiler warning!}}}} This section reveals {{#if:{{{custom|}}} | {{{custom}}} |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>:''Be sure to consult [[Help:Spoiler Policy]] before using this template.''<br>
</div></includeonly><noinclude>:''Be sure to consult [[Help:Spoiler Policy]] before using this template.''<br>

Navigation menu