Difference between revisions of "Template:Showhide"
From SpiralKnights
m (<noinclude>{{documentation}}</noinclude>) |
m (/divs to make the documentation not be hidden) |
||
Line 3: | Line 3: | ||
<div style="text-align:left" class="NavHead">{{{1}}}</div> | <div style="text-align:left" class="NavHead">{{{1}}}</div> | ||
<div style="text-align:left" class="NavContent"> | <div style="text-align:left" class="NavContent"> | ||
− | <noinclude>{{documentation}}</noinclude> | + | <noinclude></div></div></div>{{documentation}}</noinclude> |
Revision as of 21:59, 9 January 2011
{{{1}}}
[edit] [ ] Template documentation
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)
The above documentation is transcluded from Template:Showhide/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |