Difference between revisions of "Template:spoiler"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
Line 5: Line 5:
 
===Usage===
 
===Usage===
 
If you do not include the reason for the spoiler notice, this is what it will look like: <code>{{<nowiki></nowiki>spoiler}}</code>
 
If you do not include the reason for the spoiler notice, this is what it will look like: <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:47, 24 February 2025

warning!!.png Spoiler alert!
frdgd

spolied

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}}