Template:Spoiler/begin: Difference between revisions

m
Text replacement - "<includeonly>(\[\[Category:[^<]+)<\/includeonly>" to "<includeonly>{{#switch:{{NAMESPACE}}|User|UserWiki=|$1}}</includeonly>"
m (Dab1001 moved page Template:Spoiler to Template:Spoiler/begin)
m (Text replacement - "<includeonly>(\[\[Category:[^<]+)<\/includeonly>" to "<includeonly>{{#switch:{{NAMESPACE}}|User|UserWiki=|$1}}</includeonly>")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="text-align:center; margin:4px auto 11px; padding:.2em 0em; border-top:2px solid #ccc; border-bottom:2px solid #ccc">'''Spoiler warning: ''Plot and/or ending details {{#if:{{{1|}}}|on {{{1}}}|}} follow.'''''</div><noinclude>
<div style="display:grid; text-align:center; border-top:2px solid #ccc; border-bottom:2px solid #ccc; padding:0.2em 0; margin:4px auto 11px">'''Spoiler warning: ''Plot and/or ending details {{#if:{{{1|}}}|on {{{1}}}|}} follow.'''''</div><includeonly>{{#switch:{{NAMESPACE}}|User|UserWiki=|[[Category:Articles with spoilers]]}}</includeonly><noinclude>
==Usage==
==Usage==
Add:
Add:
<pre>{{Spoiler}}</pre>
<pre>{{Spoiler/begin}}</pre>


to pages that may include spoilers for fans, such as ones applicable to the endings of the video games or literature.
to pages that may include spoilers for fans, such as ones applicable to the endings of the video games or literature.
Line 12: Line 12:
*[[Template:Hide]]
*[[Template:Hide]]


[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates]]</noinclude>