Template:SpoilerDurge: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same 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, #0F0F0F, #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, #0F0F0F, #232323, #232323, #232323); 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|Background HauntedOne Icon.png}}| | [[File:{{#switch: {{{act|}}} | 1 = Ico_knownSpells_lvl_01.png| 2 = Ico_knownSpells_lvl_02.png| 3 = Ico_knownSpells_lvl_03.png|Background HauntedOne Icon.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}}} |interactions with [[The Dark Urge]].}}''' | ||
<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> | ||
Line 18: | Line 18: | ||
Result: {{SpoilerDurge|act=2|This text will be hidden.}} | Result: {{SpoilerDurge|act=2|This text will be hidden.}} | ||
It also supports custom text: {{code|<nowiki>{{SpoilerDurge|custom= | It also supports custom text: {{code|<nowiki>{{SpoilerDurge|custom=details found in ''[[The Dark Urge]]'' origin playthrough.|This text will be hidden.}}</nowiki>}} | ||
Result: {{SpoilerDurge|custom= | Result: {{SpoilerDurge|custom=details found in ''[[The Dark Urge]]'' origin playthrough.|This text will be hidden.}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:33, 7 November 2023
- Be sure to consult Help:Spoiler Policy before using this template.
Usage: {{SpoilerDurge|This text will be hidden.}}
Spoiler warning! This section reveals interactions with The Dark Urge.
This text will be hidden.
If you don't want the gradient use nograd:
Usage: {{SpoilerDurge|nograd=1|This text will be hidden.}}
Spoiler warning! This section reveals interactions with The Dark Urge.
This text will be hidden.
Per Act spoilers: {{SpoilerDurge|act=2|This text will be hidden.}}
Act 2 Spoilers! This section reveals interactions with The Dark Urge.
This text will be hidden.
It also supports custom text: {{SpoilerDurge|custom=details found in ''[[The Dark Urge]]'' origin playthrough.|This text will be hidden.}}
Spoiler warning! This section reveals details found in The Dark Urge origin playthrough.
This text will be hidden.