Template:SpoilerText: Difference between revisions

From The Skullgirls Wiki
Jump to navigation Jump to search
(Imported template from my private wiki)
 
mNo edit summary
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>

Revision as of 14:41, 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}}}