Template:SpoilerSection: Difference between revisions

From Subnautica Wiki
m (2 revisions imported: importing from Below Zero wiki)
(adjust warning message from "following section" to "This section will reveal story-related material if expanded." to be clearer and avoid confusion when placed in the middle of non-spoiler content)
Line 2: Line 2:
{| class="mw-collapsible mw-collapsed" data-expandtext="show" data-collapsetext="hide" style="background: #061522;border: 1.5px solid #0D2337;border-radius: 40px;box-shadow: inset 0 0 30px 2px #063e5a;box-sizing: border-box;color: #fff;left: 0;padding: 20px 30px 20px 30px;position: relative;max-width: auto%;margin: 0 0 0;"
{| class="mw-collapsible mw-collapsed" data-expandtext="show" data-collapsetext="hide" style="background: #061522;border: 1.5px solid #0D2337;border-radius: 40px;box-shadow: inset 0 0 30px 2px #063e5a;box-sizing: border-box;color: #fff;left: 0;padding: 20px 30px 20px 30px;position: relative;max-width: auto%;margin: 0 0 0;"
! style="width: auto%;" |
! style="width: auto%;" |
'''<span style="color:#FF0000;">Spoiler alert:</span> The following section contains story related material.'''
'''<span style="color:#FF0000;">Spoiler alert:</span> This section will reveal story-related material if expanded.'''
|-
|-
|
|

Revision as of 20:48, 1 May 2024


Usage instructions

{{SpoilerSection|text}}

Example

Code

{{SpoilerSection|Not really spoiler!}}

Result

Spoiler alert: This section will reveal story-related material if expanded.


Not really spoiler!