Template:Spoilersection (BZ): Difference between revisions
GemmaBeepo (talk | contribs) (Created page with "<includeonly> {| class="mw-collapsible mw-collapsed" data-expandtext="show" data-collapsetext="hide" style="background: #061522;border: 1.5px solid #0D2337;border-radius: 40p...") |
UnderseaDee (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{| 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: |
{| class="mw-collapsible mw-collapsed" data-expandtext="show" data-collapsetext="hide" margin: 10px 0px 0px 0px; 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: 0px 0px 0px 0px;position: relative;max-width: 380px;margin: 0 0 0;" |
||
! style="width: |
! style="width: 60%;" | |
||
'''Story Spoiler''' |
|||
'''<span style="color:#FF0000;">Spoiler alert:</span> The following section contains story related material.''' |
|||
|- |
|- |
||
| |
| |
||
Line 12: | Line 12: | ||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
||
5px 0px 0px 0px |
|||
mw-collapsible-toggle mw-collapsible-toggle-collapsed"> [<a href="#">show</a>] </span> <span class="mw-collapsible-toggle mw-collapsible-toggle-collapsed"> [<a href="#">show</a>] </span> |
Revision as of 03:21, 18 September 2020
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! |
Other templates
Note that other similar templates exist:
- Template:SpoilerSection was previously used on the then-separate Below Zero wiki. Using that capitalization will use this template instead.
- Template:ExtraSpoilersection. TheyCallMeHalo originally designed the current expanding template there and then moved it to this name in June 2017. However, some pages still use ExtraSpoilersection instead.
- The reason why this template had this name and its original text was because it was a thin message bar to provide a skip link (presumably to an 'End of Spoilers' anchor area marked by another template.
5px 0px 0px 0px
mw-collapsible-toggle mw-collapsible-toggle-collapsed"> [<a href="#">show</a>] [<a href="#">show</a>]