Template:Spoiler warning: Difference between revisions
Jump to navigation
Jump to search
(only add drop shadow for prereq icon) |
(This one needs more work than the others probably) |
||
Line 1: | Line 1: | ||
<noinclude>{{hatnote|Be sure to consult [[Help:Spoiler Policy]] before using this template.}} | <noinclude>{{hatnote|Be sure to consult [[Help:Spoiler Policy]] before using this template.}}</noinclude><onlyinclude>{{ambox|type=notice|image=[[File:Instinctive_Charm_Unaffected_Condition_Icon.webp|35px|link=]]|text={{#if: {{{act|}}} | }} {{strong|Spoiler warning}}: <span style="padding-left: 3px;">The following content {{#switch: {{{act|}}} | ||
</noinclude>< | | 1 = contains {{em|unhidden spoilers}} for Act 1. | ||
| 2 = contains {{em|unhidden spoilers}} for Act 2. | |||
| | | 3 = contains {{em|unhidden spoilers}} for Act 3. | ||
| | |may contain story spoilers.}} Read at your own risk.| {{#if: {{{act|}}} |imageright}}=[[{{#switch: {{{act|}}} | 1 = File:Ico_knownSpells_lvl_01.png | 2 = File:Ico_knownSpells_lvl_02.png | 3 = File:Ico_knownSpells_lvl_03.png | none }}|24px|link={{#if:{{{act|}}}||{{!}}class=bg3wiki-lightmode-drop-shadow}}]]}}</onlyinclude><noinclude>{{documentation|content= | ||
| | |||
| 1 = contains | |||
| 2 = contains | |||
| 3 = contains | |||
|may contain story spoilers.}} Read at your own risk.</ | |||
You can use {{InfoBlob|<nowiki>{{SpoilerWarning|act = 2}}</nowiki>}} for per-act spoiler warnings. | You can use {{InfoBlob|<nowiki>{{SpoilerWarning|act = 2}}</nowiki>}} for per-act spoiler warnings. | ||
{{SpoilerWarning|act=2}} | {{SpoilerWarning|act=2}} | ||
[[Category:Spoiler templates]] | [[Category:Spoiler templates]] | ||
</noinclude> | [[Category:Templates]] | ||
[[Category:Message box templates]] | |||
}}</noinclude> |
Revision as of 11:33, 29 December 2023
Be sure to consult Help:Spoiler Policy before using this template.
Spoiler warning: The following content may contain story spoilers. Read at your own risk. |
Template documentation
You can use {{SpoilerWarning|act = 2}} for per-act spoiler warnings.
Spoiler warning: The following content contains unhidden spoilers for Act 2. Read at your own risk. |