Template:Collapse: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
(Created page with "<includeonly><div class="mw-collapsible {{#if:{{{show|}}}| |mw-collapsed}}>{{{content|}}}</div></includeonly><noinclude> A template for optionally displaying content, or for ...")
 
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

Revision as of 00:40, 28 April 2013


A template for optionally displaying content, or for optionally hinding it at users request

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