Difference between revisions of "Template:Spoiler"

From Hgames Wiki
Jump to: navigation, search
(Change spoiler template to be hidden text instead of a message box)
(Fix typo)
Line 1: Line 1:
<span class="spoiler" style="border: 1px solid grey;"{{{1}}}</span><noinclude>
+
<span class="spoiler" style="border: 1px solid grey;">{{{1}}}</span><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 02:31, 5 October 2024

{{{1}}}

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to mark a page as having major spoilers. This should only be used on a wiki if most users wish to see it.
Syntax
Type {{spoiler}} somewhere.
Sample output
{{spoiler}} gives...
Spoiler warning!
This article contains plot details about an upcoming episode.

Visit Template:Spoiler/doc to edit this text! (How does this work?)