Difference between revisions of "Template:Showhide/doc"
From SpiralKnights
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 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>| | + | {{showhide|<header text>|content=<hidden content>}} |
</pre> | </pre> | ||
+ | |||
+ | Optional: | ||
+ | |||
+ | width = ''number'' (default is 60em) |
Latest revision as of 21:25, 18 February 2012
This is a documentation subpage for Template:Showhide (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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)