Difference between revisions of "Template:CustomToggle/Collapsible"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
<inlcudeonly>{{#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|}}}"</inlcudeonly><noinclude>
}} class="mw-collapsible {{#ifeq:{{#var:initially-collapsed-{{{1|}}}}}|yes|mw-collapsed}} {{{class|}}}" id="mw-customcollapsible-{{{1|}}}"</includeonly><noinclude>


{{CustomToggle|test|collapsed=*}}
{{CustomToggle|test|collapsed=*}}
<div {{CustomToggle/Collapsible|PRIM_TYPE}}>Hidable Thingy</div>
<div {{CustomToggle/Collapsible|test}}>Hidable Thingy</div>
<div>Regular Thingy</div>
<div>Regular Thingy</div>
Example:
Example:

Latest revision as of 16:27, 19 May 2015


Hidable Thingy
Regular Thingy

Example:

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