Template:Databox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Cmloegcmluin (talk | contribs)
sorry for adding the inaccuracy, thanks for catching it and the undo; I've tried again with a new disclaimer to prevent others from experiencing the same confusion that I did.
Remove fixed width
Line 1: Line 1:
<includeonly><div class="toccolours mw-collapsible mw-collapsed" style="width:600px; overflow:auto;">'''{{{1|{{{title}}} }}}'''<div class="mw-collapsible-content">{{{2|{{{text}}} }}}</div></div></includeonly><noinclude>
<includeonly><div class="toccolours mw-collapsible 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.  
This template creates a collapsible text box.  



Revision as of 08:23, 21 May 2023

This template creates a collapsible text box.

You type:

{{Databox|Title|
Contents
}}

You get:

Title

Contents

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