Template:Spoilers: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| end = </div></div>
| end = </div></div>
| start = <div class="tocolors mw-collapsible mw-collapsed" data-expandtext="SPOILERS!" data-collapsetext="AHHHHHH MY EYES!!!" style=" overflow: hidden;"><!-- overflow: hidden; due to the float here --><div class="mw-collapsible-content">
| start = <div class="tocolors mw-collapsible mw-collapsed" data-expandtext="SPOILERS!" data-collapsetext="hide" style=" overflow: hidden; float:left; margin-left:0; margin-right:0.5em;"><!-- overflow: hidden; due to the float here --><div class="mw-collapsible-content">
   
   
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
.mw-collapsible .mw-collapsible-toggle {
}

Revision as of 03:45, 11 June 2021

Code

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

Thanks to Dragon Quest Wiki for the template

Example

This is a spoiler


.mw-collapsible .mw-collapsible-toggle {

}