Template:Spoiler Text

From The Remnant 2 Wiki
Jump to navigation Jump to search
Documentation icon Template Documentation

Template used to cover potential story/gameplay spoilers, especially ones that are not directly in line with the page title. Example: "N'Erud Lore" should not need a spoiler if containing lore about N'Erud. However, the weapon page "Anguish" containing a lore piece may spoil users who were only curious about the weapon itself.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
text-hiddentext-hidden

Usually left blank. Text to display when covered. Should generally display clearly to the user that there are spoilers underneath, and they can click to reveal.

Default
Spoiler: Click to reveal
Example
Spoiler: Click to reveal
Lineoptional
texttext

Text to display after revealed

Linerequired

Usage[edit source]

{{Spoiler Text|text=Hidden text here|text-hidden=Text to display over spoiler box}}

Example[edit source]

This text is super top secret don't look it'll ruin the game for you because it is so secret

/styles.css