Template:SpoilerText/doc: Difference between revisions
Jump to navigation
Jump to search
(Imported template from my private wiki) |
m (Protected "Template:SpoilerText/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
| |
Latest revision as of 14:47, 28 October 2026
This template hides spoiler text behind a solid color overlay, which is revealed when a reader clicks directly on the hidden text. Unlike Spoiler and SpoilerReplace, it does not require SpoilerButton, as the toggle functionality is triggered by interacting with the text itself.
Place the spoiler text inside the first parameter.
Example
| Input | Output |
|---|---|
This text contains {{SpoilerText|Spoilers.}}
|
This text contains Spoilers. |