Template:Databox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><div class="toccolours {{#ifeq: {{{collapsible|}}}|false||mw-collapsible {{#ifeq: {{{defaultstate|}}}|expanded||mw-collapsed}}}}" style="overflow: auto;">'''{{{1|{{{title}}}}}}'''<div class="mw-collapsible-content">{{{2|{{{text}}}}}}</div></div></includeonly><noinclude>
<includeonly><div class="toccolours {{#ifeq: {{{collapse|}}}|false||mw-collapsible {{#ifeq: {{{defaultstate|}}}|expanded||mw-collapsed}}}}" style="overflow: auto;">'''{{{1|{{{title}}}}}}'''<div class="mw-collapsible-content">{{{2|{{{text}}}}}}</div></div></includeonly><noinclude>
This template creates a collapsible text box. If you want the box to be expanded by default, set the parameter <code>defaultstate=expanded</code>.
This template creates a collapsible text box. If you want the box to be expanded by default, set the parameter <code>defaultstate=expanded</code>.



Revision as of 14:18, 29 August 2024

This template creates a collapsible text box. If you want the box to be expanded by default, set the parameter defaultstate=expanded.

Template:Doc