Difference between revisions of "Template:Showhide"
From SpiralKnights
m (Remove lines) |
m (make width (optionally) configurable) |
||
Line 1: | Line 1: | ||
− | <div style="width: 60em"> | + | <div style="width: {{{width|60em}}}"> |
<div class="NavFrame collapsed"> | <div class="NavFrame collapsed"> | ||
<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"> | ||
{{{content}}}</div></div></div><noinclude>{{documentation}}</noinclude> | {{{content}}}</div></div></div><noinclude>{{documentation}}</noinclude> |
Revision as of 12:26, 20 April 2011
{{{1}}}
{{{content}}}
[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. |