Difference between revisions of "Template:Showhide"

From SpiralKnights

Jump to: navigation, search
Line 1: Line 1:
 
<div style="width: {{{width|60em}}}">
 
<div style="width: {{{width|60em}}}">
<div class="NavFrame">
+
<div class="NavFrame show">
 
   <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 09:49, 5 September 2011

[edit] [purge] 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)

Personal tools