Difference between revisions of "Template:Showhide/doc"

From SpiralKnights

Jump to: navigation, search
m (Create)
 
m (Add note about width)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
This template is used to hide certain sections of article content in a 'Show/Hide' drop down bar. This gives readers the opportunity to choose whether or not to view content that they either may not be interested in (a long list of FAQ) or may spoil the game for them, by revealing objectives or elements of the game they have yet to discover for themselves.  This template is used in conjunction with the Template:Showhide content.
+
This template is used to hide certain sections of article content in a 'Show/Hide' drop down bar. This gives readers the opportunity to choose whether or not to view content that they either may not be interested in (a long list of FAQ) or may spoil the game for them, by revealing objectives or elements of the game they have yet to discover for themselves.
  
 
== Usage ==
 
== Usage ==
Line 6: Line 6:
  
 
<pre>
 
<pre>
{{showhide|<header text>|contents=<hidden content>}}
+
{{showhide|<header text>|content=<hidden content>}}
 
</pre>
 
</pre>
 +
 +
Optional:
 +
 +
width = ''number'' (default is 60em)

Latest revision as of 21:25, 18 February 2012

This template is used to hide certain sections of article content in a 'Show/Hide' drop down bar. This gives readers the opportunity to choose whether or not to view content that they either may not be interested in (a long list of FAQ) or may spoil the game for them, by revealing objectives or elements of the game they have yet to discover for themselves.

Usage

Example:

{{showhide|<header text>|content=<hidden content>}}

Optional:

width = number (default is 60em)

Personal tools