Template:Spoiler: Difference between revisions
Appearance
Created page with "<details> <summary>Details</summary> Something small enough to escape casual notice. </details>" |
No edit summary |
||
| Line 1: | Line 1: | ||
< | {{#switch: {{{1}}} | ||
| end = <div class="spoiler">'''Spoilers end here.'''</div> | |||
| switch = <span class="mw-collapsible mw-collapsed" data-expandtext="Reveal Spoiler" data-collapsetext="Hide Spoiler"><span class="spoiler">'''<span style="color: #f57900">WARNING:</span> The following may contain spoilers about {{#if: {{{3|}}} |{{{2|the game}}}|the game}}.'''</span><div class="mw-collapsible-content">{{{3|{{{2}}}}}}</div></span> | |||
</ | | #default = <div class="spoiler">'''<span style="color: #f57900">SPOILER</span> more info {{{1|the game}}}.'''</div>}}<br /><noinclude> | ||
{{documentation}}</noinclude> | |||
Latest revision as of 17:57, 15 July 2020
SPOILER more info the game.
== Collapsible spoiler==
Should the spoiling information need to be hidden.
- {{Spoiler|switch|This text is a spoiler!}} gives...
This text is a spoiler!
File:Jorge.pngThis guy is also a spoiler!
Spoiler end
This should be used when the section of the page with a spoiler ends.
- {{Spoiler|end}} gives...
Spoilers end here.
Documentation transcluded from Template:Spoiler/doc.