Difference between revisions of "Template:Spoiler/doc"
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...) |
(No difference)
|
Revision as of 20:20, 27 December 2010
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:
- w - Change the width
- fc - Change the color of the Title box
- bc - 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.