User:TAT/sandbox/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. ...")
 
m (prevent categorisation)
 
Line 27: Line 27:
}}
}}


<!--
[[Category:Spoiler templates]]
[[Category:Spoiler templates]]
[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
-->
</noinclude>
</noinclude>

Latest revision as of 20:01, 22 July 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/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.