Open main menu

Template:Spoiler/doc

< Template:Spoiler
Revision as of 20:55, 29 August 2019 by Messing with data (talk | contribs) (Corrected the category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates a box spreading the width of the page warning the user of possible spoilers in the following text.

ParametersEdit

Parameter name Required? Default value Description
target No (n/a) Optional HTML anchor which will be linked for the user to skip a text passage

UsageEdit

See the template's testcases:

No parameter
Wiki code {{Spoiler}}
Main version
helialprofile.png

"This is classified information!"

This article contains unmarked spoilers. You have been warned.


Sandbox version Template:Spoiler/sandbox
Parameter: target
Wiki code {{Spoiler|target=name_of_anchor}}
Main version
helialprofile.png

"This is classified information!"

This article contains unmarked spoilers. You have been warned. Click here to skip this part.


Sandbox version Template:Spoiler/sandbox

See alsoEdit