Template:Spoiler: Difference between revisions
Jump to navigation
Jump to search
Note:If most of the page contains spoilers, consider using the {{spoiler2}} template instead.
MossyBucket (talk | contribs) (Documented and categorized.) |
m (Added note about spoiler2) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="notice metadata" id="spoiler">'''[[Wikipedia:Spoiler warning|Spoiler warning]]: ''Plot and/or ending details follow.'''''</div><div style="margin:1em 3em;"> | {{#ifeq: {{{1}}} | end | </div><div class="notice metadata endspoiler" id="spoiler">'''''Spoilers end here.'''''</div> | <div class="notice metadata" id="spoiler">'''[[Wikipedia:Spoiler warning|Spoiler warning]]: ''Plot and/or ending details follow.'''''</div><div style="margin:1em 3em;">}} | ||
<noinclude> | <noinclude> | ||
</div> | |||
== Description == | == Description == | ||
This template begins a section | This template begins and ends a section of spoilers. | ||
{{note|If most of the page contains spoilers, consider using the {{[[Template:Spoiler2|spoiler2]]}} template instead.}} | |||
== Syntax == | |||
=== <nowiki>{{spoiler|start}}</nowiki> === | |||
This marks the beginning of a spoiler. You can also just use <nowiki>{{spoiler}}</nowiki> | |||
=== <nowiki>{{spoiler|end}}</nowiki> === | |||
This marks the end of a spoiler. | |||
</noinclude> | </noinclude> |
Latest revision as of 09:59, 31 October 2011
Description
This template begins and ends a section of spoilers.

Syntax
{{spoiler|start}}
This marks the beginning of a spoiler. You can also just use {{spoiler}}
{{spoiler|end}}
This marks the end of a spoiler.