Template:Spoilers: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
(Undo revision 5692 by Tailsgetstrolled.org admin (talk))
Tag: Undo
(test)
 
Line 10: Line 10:
{{spoilers|start}}This is a spoiler{{spoilers|end}}
{{spoilers|start}}This is a spoiler{{spoilers|end}}


</noinclude><onlyinclude><includeonly>
</noinclude><onlyinclude><includeonly>{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| end = </div></div>
| end = </div></div>
| start = <div class="mw-collapsible mw-collapsed" data-expandtext="SPOILERS!" data-collapsetext="AHH!! MY EYES" style=" overflow: hidden;">&nbsp;<!-- overflow: hidden; due to the float here --><div class="mw-collapsible-content">
| start = <div class="mw-collapsible mw-collapsed" data-expandtext="SPOILERS!" data-collapsetext="AHH!! MY EYES" style=" overflow: hidden;">&nbsp;<!-- overflow: hidden; due to the float here --><div class="mw-collapsible-content">}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>

Latest revision as of 20:31, 14 June 2021

Code

{{spoilers|start}}This is a spoiler{{spoilers|end}}

Thanks to Dragon Quest Wiki for the template, which I then edited further

Example

 
This is a spoiler