Difference between revisions of "Template:spoiler"
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
Usage
If you do not include the reason for the spoiler notice, this is what it will look like: {{spoiler}}
| Spoiler alert! The following explanation contains spoilers. |
If you include a reason, you'll get this:
{{spoiler|reason}}
| Spoiler alert! reason |
