Template:Spoiler

From the Portal Wiki
Revision as of 04:57, 13 June 2023 by Matthew250 (talk | contribs) (Undo revision 185425 by CatMurderer (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Documentation for 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.

What to mark?

Grey areas

Things to ignore

Limitations

Doesn't work nice with headers sometimes. Examples: 1.

Examples

  • A line of text. {{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.