User:TAT/sandbox/Template:spoiler

From the Portal Wiki
< User:TAT‎ | sandbox
Revision as of 12:09, 30 May 2011 by TAT (talk | contribs) (Created page with "<{{#if:{{{block|}}}|div|span}} class="spoiler-text">{{{1|}}}</{{#if:{{{block|}}}|div|span}}><includeonly>{{#if:{{NAMESPACE}} | {{ns:0}}<!-- Don't categorize non-mainspace pages. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for TAT/sandbox/Template:spoiler

{{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

  • A line of text. {{User:TAT/sandbox/spoiler|Snape kills Dumbledore}}. generates

A line of text. Snape kills Dumbledore.

  • The below code will generate:
{{Spoiler|block=yes|
* Harry is the last horcrux.
* And [[Chell]] is [[GLaDOS]]' daughter.
}}
  • Harry is the last horcrux.
  • And Chell is GLaDOS' daughter.