Difference between revisions of "Template:CustomToggle/Collapsible"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:
<includeonly>{{#if:


{{#if:{{#var:initially-collapsed-{{{1|}}}}}||
{{#if:{{#var:initially-collapsed-{{{1|}}}}}||
Line 5: Line 5:
}}
}}


}} class="mw-collapsible {{#ifeq:{{#var:initially-collapsed-{{{1|}}}}}|yes|mw-collapsed}} {{{class|}}}" id="mw-customcollapsible-{{{1|}}}"
}} class="mw-collapsible {{#ifeq:{{#var:initially-collapsed-{{{1|}}}}}|yes|mw-collapsed}} {{{class|}}}" id="mw-customcollapsible-{{{1|}}}"</includeonly><noinclude>
 
{{CustomToggle|test|collapsed=*}}
<div {{CustomToggle/Collapsible|test}}>Hidable Thingy</div>
<div>Regular Thingy</div>
Example:
<pre>{{CustomToggle/Collapsible|PRIM_TYPE|collapsed=*}}</pre>
 
</noinclude>

Latest revision as of 16:27, 19 May 2015


Hidable Thingy
Regular Thingy

Example:

{{CustomToggle/Collapsible|PRIM_TYPE|collapsed=*}}