Template:Spoilersection/doc: Difference between revisions

From Subnautica Wiki
(note that template:ExtraSpoilersection also exists)
(→‎Other templates: history of the template)
 
Line 10: Line 10:


==Other templates==
==Other templates==
* Note that other similar templates exist, such as [[Template:ExtraSpoilersection]] and looks extremely similar
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.