Template:Collapse: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div class="mw-collapsible {{#if:{{{show|}}}| |mw-collapsed}}" >{{{content|}}}</div></includeonly><noinclude>
<includeonly><div class="mw-collapsible {{#if:{{{show|}}}| |mw-collapsed}}" >{{{content|}}}</div></includeonly><noinclude>


A template for optionally displaying content, or for optionally hinding it at users request
A template for optionally displaying content, or for optionally hinding it at users request. Beware, takes with of whatever object it is embedded in.


==Usage==
==Usage==

Latest revision as of 00:41, 28 April 2013


A template for optionally displaying content, or for optionally hinding it at users request. Beware, takes with of whatever object it is embedded in.

Usage

{{Collapse
|content=
|show   =
}}

Examples

{{Collapse
|content=Lots of text which we may not want to show by default
|show   =
}}


Lots of text which we may not want to show by default


{{Collapse
|content=Lots of text which people may want to dismiss for whatever reason
|show   = yes
}}
Lots of text which people may want to dismiss for whatever reason