Template:Databox/doc

From Xenharmonic Reference
Revision as of 19:33, 8 April 2026 by Inthar (talk | contribs) (Created page with "{{dochead}} This template creates a collapsible text box. If you want the box to be expanded by default, set the parameter <code>defaultstate=expanded</code>. === Usage === You type: <pre> {{Databox | Title | Contents }} </pre> You get: {{{{ROOTPAGENAME}} | Title | Contents }} To make a databox permanently expanded, pass <code>collapse=false</code> as follows: <pre> {{Databox|collapse=false | Title | Contents }} </pre> {{{{ROOTPAGENAME}}|collapse=false | Title |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

You type:

{{Databox
| Title
| Contents
}}

You get:

Title
Contents

To make a databox permanently expanded, pass collapse=false as follows:

{{Databox|collapse=false
| Title
| Contents
}}
Title
Contents

Template:Escape notice