Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.

Difference between revisions of "Template:Spoiler"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
m
 
Line 1: Line 1:
 
<div class="spoiler-container">
 
<div class="spoiler-container">
 
<span class="spoiler-text">Spoiler</span>
 
<span class="spoiler-text">Spoiler</span>
<span class="mw-customtoggle-spoiler{{{id|}}}">Show</span>
+
<span class="spoiler-button mw-customtoggle-spoiler{{{id|}}}">Show</span>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-spoiler{{{id|}}}">
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-spoiler{{{id|}}}">
 
<div class="mw-collapsible-content">{{{1}}}</div>
 
<div class="mw-collapsible-content">{{{1}}}</div>

Latest revision as of 17:36, 24 March 2014

Spoiler Show

{{{1}}}

Documentation[edit]

{{spoiler|Any hidden stuff you want.}}

Spoiler Show

Any hidden stuff you want.


However, if you want multiple spoilers on a page, supply an unique id to each spoiler. All spoilers will be opened at once if they have the same id. If you don't want that, use the code below:

{{spoiler|id=1|These spoilers will open separately.}}
{{spoiler|id=2|Unlike the ones above.}}

Spoiler Show

These spoilers will open separately.

Spoiler Show

Unlike the ones above.