Template:Spoiler/doc

Syntax
Type:

to get.

Type:

to get.

Type:

to get.

This works for all types of texts, whether unlinked, blue linked, or red linked. All will be visible if the area affected is highlighted by the mouse. It will work the same on external links, and it will hide everything except for the external link arrow icon.

The template puts a white overlay over text and all types of links. If a link is clicked, it will be visible on subsequent visits to the same page until the browser cache is cleared, merely highlighting the spoilered text will not need this.

This template is an originally created MediaWiki equivalent to the spoiler code for text used on TV Tropes.org and should function in an equivalent manner.

Code Of Template
This template uses the following CSS based template code:

CSS Required to make this template function
This template depends on the following CSS being implemented in the common.css file on your MediaWiki installation:

Copy and paste the text in the box above to your MediaWiki:Common.css file for this template to work