User:TAT/sandbox/Template:spoiler

< class="spoiler-text">

Spoiler is a spoiler tag template. If spoilers are toggled off (using the tab at the top of the page) text inside the Spoiler tag will be blacked out. You can still highlight the text to view it without toggling all spoilers on.

Examples

 * generates

A line of text. .

&#123;&#123;Spoiler|block=yes| }}
 * The below code will generate:
 * Harry is the last horcrux.
 * And Chell is GLaDOS' daughter.