Difference between revisions of "Template:Spoiler"

From Hgames Wiki
Jump to: navigation, search
m (1 revision)
(Change spoiler template to be hidden text instead of a message box)
Line 1: Line 1:
{| style="text-align:center; background:#D3E1F2; color:#000; border:1px solid #AAA; margin-bottom:10px;" cellpadding=8
+
<span class="spoiler" style="border: 1px solid grey;"{{{1}}}</span><noinclude>
|-
 
| '''Spoiler warning!'''<br/>This article contains plot details about an upcoming episode.
 
|}<noinclude>
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 03:29, 5 October 2024

<span class="spoiler" style="border: 1px solid grey;"{{{1}}}</span>

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?)