Template:Spoilers: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
No edit summary
(test)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
==Code==
==Code==
<pre>
<pre>
Line 4: Line 5:
</pre>
</pre>


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


==Example==
==Example==
{{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="toccolours mw-collapsible mw-collapsed" data-expandtext="SPOILERS!" data-collapsetext="hide" style=" overflow: hidden;"><!-- 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