Template:Spoilers: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
No edit summary
(test)
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Code===
<noinclude>
==Code==
<pre>
<pre>
{{spoilers|start}}
{{spoilers|start}}This is a spoiler{{spoilers|end}}
Spoiler text goes here.
{{spoilers|end}}
</pre>
</pre>


</noinclude><onlyinclude><includeonly>
Thanks to Dragon Quest Wiki for the template, which I then edited further
{{ #switch: {{{1}}}  
 
==Example==
{{spoilers|start}}This is a spoiler{{spoilers|end}}
 
</noinclude><onlyinclude><includeonly>{{ #switch: {{{1}}}  
| end = </div></div>
| end = </div></div>
| start = <div class="toccolours mw-collapsible mw-collapsed" style=" overflow: hidden;">'''''SPOILERS!'''''<br/><!-- 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