Difference between revisions of "Template:Spoiler"
Jump to navigation
Jump to search
m (test) |
(→Usage: add two suggestions for spoiler usage) |
||
Line 5: | Line 5: | ||
<pre>{{spoiler|This section explains Novac's quest}}</pre> | <pre>{{spoiler|This section explains Novac's quest}}</pre> | ||
</noinclude> | </noinclude> | ||
+ | |||
+ | |||
+ | There's a [http://www.mediawiki.org/wiki/Extension:ShowHide showhide extension] for mediawiki: | ||
+ | |||
+ | <showhide>Some public text __HIDER__<br> | ||
+ | <hide>And this is the description of the secret</hide><br> | ||
+ | </showhide> | ||
+ | |||
+ | But maybe the [http://www.mediawiki.org/wiki/Extension:JSpoiler spoiler extension] is the better choice: | ||
+ | <spoiler text="Spoiler description">Hidden text which gives away the description of the secret</spoiler> |
Revision as of 09:53, 1 January 2013
Usage
Enter {{spoiler|text}} inside an article section. Example:
{{spoiler|This section explains Novac's quest}}
There's a showhide extension for mediawiki:
<showhide>Some public text __HIDER__
<hide>And this is the description of the secret</hide>
</showhide>
But maybe the spoiler extension is the better choice: <spoiler text="Spoiler description">Hidden text which gives away the description of the secret</spoiler>