Template:Spoilersection/doc: Difference between revisions

From Subnautica Wiki
No edit summary
Tag: sourceedit
(→‎Other templates: history of the template)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
====Result====
====Result====
{{Spoilersection|Not really spoiler!}}
{{Spoilersection|Not really spoiler!}}

==Other templates==
Note that other similar templates exist:
* [https://subnautica.fandom.com/wiki/Template:SpoilerSection?redirect=no Template:SpoilerSection] was previously used on the then-separate [[Subnautica: Below Zero|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.


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 02:03, 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.