Difference between revisions of "Template:Spoiler"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
Line 1: Line 1:
===Usage===
+
<noinclude>===Usage===
 
This template is for marking spoilers.
 
This template is for marking spoilers.
 
For instance, to spoiler "[[109:_Spoiler_Alert|Snape kills Trinity with Rosebud!]]", you would type <code><nowiki>{{Spoiler|Snape kills Trinity with Rosebud!}}</nowiki></code> for a result of "<span style="color: lightgray"><span style="background-color: lightgray">Snape kills Trinity with Rosebud!</span></span>"
 
For instance, to spoiler "[[109:_Spoiler_Alert|Snape kills Trinity with Rosebud!]]", you would type <code><nowiki>{{Spoiler|Snape kills Trinity with Rosebud!}}</nowiki></code> for a result of "<span style="color: lightgray"><span style="background-color: lightgray">Snape kills Trinity with Rosebud!</span></span>"
Line 6: Line 6:
 
</noinclude>
 
</noinclude>
 
<includeonly><span style="color: lightgray"><span style="background-color: lightgray">{{{1}}}</span></span></includeonly>
 
<includeonly><span style="color: lightgray"><span style="background-color: lightgray">{{{1}}}</span></span></includeonly>
[[Category: Templates]]
+
<noinclude>[[Category: Templates]]</noinclude>

Revision as of 19:56, 20 April 2021

Usage

This template is for marking spoilers. For instance, to spoiler "Snape kills Trinity with Rosebud!", you would type {{Spoiler|Snape kills Trinity with Rosebud!}} for a result of "Snape kills Trinity with Rosebud!"

Wikicode

<span style="color: lightgray"><span style="background-color: lightgray">{{{1}}}</span></span>