From WikiTemp, the GBAtemp wiki
< Template:Spoiler
Revision as of 15:38, 21 September 2015 by Tempbot (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page of Template:Spoiler. Please add the documentation for this Template below.

This template allows you to add Spoiler tags in Wiki pages. Note that the contents will only be hidden once the page is fully loaded.

Usage

Basic version:

{{Spoiler|Contents of spoiler}}

Advanced options:

  • width - Change the width
  • foreground - Change the color of the Title box
  • background - Change color of contents
  • title - Change the title

Example:

{{Spoiler|Contents|width=60%|foreground=#ABC|background=#123|title=Hidden}}

Result:

Hidden
Contents

Browser Compatibility

Javascript must be enabled for this template to work.