Explain xkcd: It's 'cause you're dumb.
|
|
| (52 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| − | <noinclude>===Usage=== | + | <span class="plainlinks">{{notice2|<big><big>{{#if:{{{1|}}}|'''[[109: Spoiler Alert|''Spoiler alert!'']]'''|'''''Spoiler alert!'''''}}</big></big><br><!-- |
| − | This template is for marking spoilers.
| + | |
| − | For instance, to spoiler "[[109:_Spoiler_Alert|Snape kills Trinity with Rosebud]]", you would type <code><nowiki>{{Spoiler|''Harry Potter and the Half-Blood Prince'', ''Citizen Kane'', and ''The Matrix Revolutions''|Snape kills Trinity with Rosebud.}}</nowiki></code> for a result of "Spoilers for ''Harry Potter and the Half-Blood Prince'', ''Citizen Kane'', and ''The Matrix Revolutions'': <span style="color: lightgray"><span style="background-color: lightgray">Snape kills Trinity with Rosebud.</span></span>"
| + | -->{{{1|The following explanation contains [[109: Spoiler Alert|spoilers]].}}}}}</span><noinclude> |
| − | ===Wikicode===
| + | |
| − | <code><nowiki>Spoilers for {{{1|''Harry Potter and the Half-Blood Prince'', ''Citizen Kane'', and ''The Matrix Revolutions''}}}: <span style="color: lightgray"><span style="background-color: lightgray">{{{2|Snape kills Trinity with Rosebud.}}}</span></span></nowiki></code><includeonly>Spoilers for {{{1|''Harry Potter and the Half-Blood Prince'', ''Citizen Kane'', and ''The Matrix Revolutions''}}}: <span style="color: lightgray"><span style="background-color: lightgray">{{{2|Snape kills Trinity with Rosebud.}}}</span></span></includeonly>[[Category: Templates]]</noinclude>
| + | ==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}} |
| | + | |
| | + | If you include a reason, you'll get this: |
| | + | |
| | + | <code>{{<nowiki></nowiki>spoiler|reason}}</code>{{spoiler|reason}} |
| | + | [[Category: Templates]] |
Latest revision as of 17:48, 28 March 2025
|
Spoiler alert! The following explanation contains spoilers.
|
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}}