Difference between revisions of "Template:Spoiler"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>===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 "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>"
 +
 
 
===Wikicode===
 
===Wikicode===
<code><nowiki><span style="color: lightgray"><span style="background-color: lightgray">{{{1}}}</span></span></nowiki></code><includeonly><span style="color: lightgray"><span style="background-color: lightgray">{{{1}}}</span></span></includeonly>[[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>

Latest revision as of 16:49, 21 April 2021

Usage[edit]

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[edit]

<span style="color: lightgray"><span style="background-color: lightgray">{{{1|Snape kills Trinity with Rosebud}}}</span></span>