Template:Spoiler/begin: Difference between revisions

From Halopedia, the Halo wiki

(remove deleted includeonly template)
m (Text replacement - "<includeonly>(\[\[Category:[^<]+)<\/includeonly>" to "<includeonly>{{#switch:{{NAMESPACE}}|User|UserWiki=|$1}}</includeonly>")
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata" style="font-size:135%;background-color: #fff8f8; color: #000000; border-top: 1px solid black; border-bottom: 1px solid black; border-right:0; border-left:0; text-align: center">'''[[Wikipedia:Wikipedia:Spoiler warning|Spoiler warning]]: ''Plot or ending details {{t|1=for [[{{{1|}}}]]|1{{{1|}}}=}} follow.'''''</div>
<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>
<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.


When spoilers are finished, insert:
When spoilers are finished, insert:
<pre>{{Spoiler End}}</pre>
<pre>{{Spoiler/end}}</pre>


[[Category:Templates|Spoiler]]</noinclude>
==See also==
*[[Template:Hide]]
 
[[Category:Templates]]</noinclude>

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

Spoiler warning: Plot and/or ending details follow.

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