Template:Spoilers: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> {{spoiler|start}} tesy {{spoiler|end}} ===Code=== <pre> {{spoiler|start}} Spoiler text goes here. {{spoiler|end}} </pre> </noinclude><onlyinclude><includeonly>...")
 
(test)
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{spoiler|start}}
==Code==
tesy
<pre>
{{spoiler|end}}
{{spoilers|start}}This is a spoiler{{spoilers|end}}
</pre>


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


===Code===
==Example==
<pre>
{{spoilers|start}}This is a spoiler{{spoilers|end}}
{{spoiler|start}}
Spoiler text goes here.
{{spoiler|end}}
</pre>


</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/>Click expand to view content<!-- 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