Template:Databox: Difference between revisions
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: {{{collapse|}}}|false||mw-collapsible {{#ifeq: {{{defaultstate|}}}|expanded||mw-collapsed}}}}" style="overflow: auto;">'''{{{1|{{{title|}}}}}}'''{{#if: {{{2|{{{text|}}}}}}|<div class="mw-collapsible-content" | <includeonly><div class="toccolours {{#ifeq: {{{collapse|}}}|false||mw-collapsible {{#ifeq: {{{defaultstate|}}}|expanded||mw-collapsed}}}}" style="overflow: auto;">'''{{{1|{{{title|}}}}}}'''{{#if: {{{2|{{{text|}}}}}}|<div class="mw-collapsible-content">{{normal|{{{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 18:26, 15 January 2025
This template creates a collapsible text box. If you want the box to be expanded by default, set the parameter defaultstate=expanded
.