Template:Spoiler/end: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "<includeonly>(\[\[Category:[^<]+)<\/includeonly>" to "<includeonly>{{#switch:{{NAMESPACE}}|User|UserWiki=|$1}}</includeonly>")
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="text-align:center; margin:10px auto; padding:.2em 0em; border-top:2px solid #cccccc; border-bottom:2px solid #cccccc;">'''''Spoilers end here.'''''</div><includeonly>[[Category:Articles with spoilers|{{PAGENAME}}]]</includeonly><noinclude>
<div style="display:grid; text-align:center; border-top:2px solid #ccc; border-bottom:2px solid #ccc; padding:0.2em 0; margin:10px auto 4px">'''''Spoilers end here.'''''</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>

Latest revision as of 18:19, January 3, 2024

Spoilers end here.

Usage

Add:

{{Spoiler/begin}}

to pages that may include spoilers for fans, such as ones applicable to the endings of the video games or literature.

When spoilers are finished, insert:

{{Spoiler/end}}

See also