Difference between revisions of "Template:Spoiler"

From Disobiki
Jump to navigation Jump to search
(Created page with '<includeonly> {| class="collapsible collapsed" ! {{{1}}} |- | {{{2}}} |} </includeonly><noinclude> Places a collapsed table on a page, which can be expanded with a click. ==Usag…')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="spoiler"><span class="spoiler-click">{{{1}}}</span> <span class="spoiler-data">{{{2}}}</span></div>​</includeonly><noinclude>
{| class="collapsible collapsed"
+
Places inline hidden text on a page, which can be displayed with a click.
! {{{1}}}
 
|-
 
| {{{2}}}
 
|}
 
</includeonly><noinclude>
 
Places a collapsed table on a page, which can be expanded with a click.
 
  
 
==Usage==
 
==Usage==
Line 13: Line 7:
 
{{Spoiler
 
{{Spoiler
 
| CLICK ME FOR YER SEKRIT!
 
| CLICK ME FOR YER SEKRIT!
| Ok, here's the deal… first, you need to take off your clothes...
+
| Ok, here's the deal… first, you need to take off your clothes…
 
}}</pre>
 
}}</pre>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 14:44, 30 October 2018

Places inline hidden text on a page, which can be displayed with a click.

Usage

{{Spoiler
| CLICK ME FOR YER SEKRIT!
| Ok, here's the deal… first, you need to take off your clothes…
}}