Difference between revisions of "Template:spoiler"
m |
m |
||
| Line 1: | Line 1: | ||
{{notice2|<big><big>'''Spoiler alert'''</big></big><br>frdgd<br><br><!-- | {{notice2|<big><big>'''Spoiler alert'''</big></big><br>frdgd<br><br><!-- | ||
| − | -->{{{1| | + | -->{{{1|[[109: Spoiler Alert|spolied]]}}}}}<noinclude> |
===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> | ||
{{spoiler}} | {{spoiler}} | ||
| − | {{spoiler| | + | |
| + | If you include a reason, you'll get this: | ||
| + | <code>{{<nowiki></nowiki>spoiler|reason}}</code> | ||
| + | {{spoiler|reason}} | ||
===Wikicode=== | ===Wikicode=== | ||
<code><nowiki><span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span></nowiki></code></noinclude><includeonly><span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span></includeonly><noinclude>[[Category: Templates]]</noinclude> | <code><nowiki><span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span></nowiki></code></noinclude><includeonly><span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span></includeonly><noinclude>[[Category: Templates]]</noinclude> | ||
Revision as of 17:41, 24 February 2025
| Spoiler alert frdgd spolied |
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 |
Wikicode
<span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span>
