Difference between revisions of "Template:spoiler"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
Line 6: Line 6:
 
If you do not include the reason for the spoiler notice, this is what it will look like:
 
If you do not include the reason for the spoiler notice, this is what it will look like:
  
<code>{{<nowiki></nowiki>spoiler}}</code>
+
<code>{{<nowiki></nowiki>spoiler}}</code>{{spoiler}}
 
 
{{spoiler}}
 
  
 
If you include a reason, you'll get this:
 
If you include a reason, you'll get this:
  
<code>{{<nowiki></nowiki>spoiler|reason}}</code>  
+
<code>{{<nowiki></nowiki>spoiler|reason}}</code>{{spoiler|reason}}
{{spoiler|reason}}
 
 
[[Category: Templates]]
 
[[Category: Templates]]

Revision as of 17:52, 24 February 2025

warning!!.png Spoiler alert!
The following explanation contains spoilers.

Usage

If you do not include the reason for the spoiler notice, this is what it will look like:

{{spoiler}}
warning!!.png Spoiler alert!
The following explanation contains spoilers.

If you include a reason, you'll get this:

{{spoiler|reason}}