User:TAT/sandbox/Template:spoiler: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(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. ...")
 
No edit summary
 
Line 26: Line 26:
* And [[Chell]] is [[GLaDOS]]' daughter.
* And [[Chell]] is [[GLaDOS]]' daughter.
}}
}}
[[Category:Spoiler templates]]
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 12:10, 30 May 2011

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.