Difference between revisions of "Template:CustomToggle"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#if:
{{#if:


{{#if:{{#var:initially-collapsed-{{{1|}}}}}|
{{#if:{{#var:initially-collapsed-{{{1|}}}}}||
{{#vardefine:initially-collapsed-{{{1|}}}|{{#if:{{{collapsed|}}}|yes|no}}}}
{{#vardefine:initially-collapsed-{{{1|}}}|{{#if:{{{collapsed|}}}|yes|no}}}}
}}
}}

Revision as of 15:18, 19 May 2015

Hidable Thingy
Regular Thingy

Example:

{{CustomToggle|PRIM_TYPE|hide=Collapse|show=Expand|class=foo|collapsed=*}}