Template:Databox/doc: 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 12: Line 12:


{{{{ROOTPAGENAMEE}}
{{{{ROOTPAGENAMEE}}
| Title
| Contents
}}
To make a databox permanently expanded, pass <code>collapse=false</code> as follows:
<pre>
{{Databox|collapse=false
| Title
| Contents
}}
</pre>
{{Databox|collapse=false
| Title
| Title
| Contents
| Contents

Revision as of 14:23, 29 August 2024

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

Note: To include the pipe (|) character, it must be escaped as {{!}}, unless it appears inside preformatted text (such as a <syntaxhighlight> tag).