Difference between revisions of "Template:CustomToggle/Collapsible"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <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|collapsed=*}} | {{CustomToggle|test|collapsed=*}} | ||
<div {{CustomToggle/Collapsible| | <div {{CustomToggle/Collapsible|test}}>Hidable Thingy</div> | ||
<div>Regular Thingy</div> | <div>Regular Thingy</div> | ||
Example: | Example: |