Template:SpoilerText: Difference between revisions

From The Skullgirls Wiki
Jump to navigation Jump to search
(Imported template from my private wiki)
 
m (Protected "Template:SpoilerText" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><span title="This text has spoilers." class="spoiler_on">{{{1}}}</span>
<noinclude>{{doc}}[[Category:Spoiler Templates]]</noinclude><span title="This text has spoilers." class="spoiler_on">{{{1}}}</span>

Latest revision as of 14:46, 28 October 2026


Template documentation(view) (edit) (history)


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.


{{{1}}}