Template:Spoilers: Difference between revisions

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


Stolen from Dragon Quest wiki. Thanks
Thanks to Dragon Quest Wiki for the template, which I then edited further


==Example==
==Example==
{{spoilers|start}}
{{spoilers|start}}This is a spoiler{{spoilers|end}}
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" 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