Template:Spoilersection: Difference between revisions
(THIS IS HEAVY WIP, PLEASE IGNORE, IT IS BEING WORKED ON) Tag: sourceedit |
Techhead7890 (talk | contribs) (merge back in changes from Template:SpoilerSection (case sensitive title) and use a redirect at that title to come here, rather than having duplicate templates floating around) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
|||
<table class="alpha75" style="border-top: 1px solid #FFAABB; border-bottom: 1px solid #FFAABB; border-left: none; border-right: none; width: 100%; margin-bottom: 6px;"> |
|||
{| 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;" |
|||
<th style="text-align: left;"> |
|||
! style="width: 90%;" | |
|||
'''<span style="color:#FF0000;">Spoiler alert:</span> This section will reveal story-related material if expanded.''' |
|||
<span style="color:#FF4444; font-weight: bold; font-style: italic;">Spoiler alert: The following section contains plot-specific details.</span><span style="float: right; font-weight: normal;">([[#{{{1|End of Spoilers}}}|Skip Section]])</span></th></table><noinclude> |
|||
|- |
|||
| |
|||
----- |
|||
{{{1}}} |
|||
|} |
|||
</includeonly> |
|||
<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |
Latest revision as of 01:01, 2 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! |
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.