Changes

Jump to: navigation, search

Template:Spoiler

273 bytes added, 13:16, 23 September 2014
m
no edit summary
</div>
</div><noinclude>
== Description ==
</pre>
Use this template to add a spoiler section to a page. I made this template to replace the tag provided by the <nowiki><spoiler></nowiki> extension, because for some reason it seems to bypass some of the MediaWiki formatting.
I made this template to replace the tag provided by the <nowiki><spoiler></nowiki> extension, because for some reason it seems to bypass some of the MediaWiki formatting. This version uses the same Javascript code, but doesn't rely on the backend php code extension for the spoiler tag, so the content of the spoiler is treated as standard MediaWiki formatting.
 
Also, we can make it look nice later (add a little icon for example).
[[Category:Formatting templates|Spoiler]]
</noinclude>
2,804
edits

Navigation menu