From WikiTemp, the GBAtemp wiki
m (New page: <noinclude>{{Docpage}}</noinclude><!-- Add Documentation below this line --> This template allows you to add Spoiler tags in Wiki pages. Note that the contents will only be hidden once the...)
 
Line 7: Line 7:
  
 
Advanced options:
 
Advanced options:
* w - Change the width
+
* width - Change the width
* fc - Change the color of the Title box
+
* foreground - Change the color of the Title box
* bc - Change color of contents
+
* background - Change color of contents
 
* title - Change the title
 
* title - Change the title
  

Revision as of 15:36, 21 September 2015

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|w=60%|fc=#678|bc=#123|title=Hidden}}

Browser Compatibility

Javascript must be enabled for this template to work.