Difference between revisions of "Template:Spoiler"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
		
	
 (→Usage:  add two suggestions for spoiler usage)  | 
				m  | 
				||
| Line 14: | Line 14: | ||
But maybe the [http://www.mediawiki.org/wiki/Extension:JSpoiler spoiler extension] is the better choice:    | 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>  | <spoiler text="Spoiler description">Hidden text which gives away the description of the secret</spoiler>  | ||
Latest revision as of 09:55, 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>