Template:Databox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
This isn't true. It only need not be escaped in preformatted settings
Tag: Undo
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.
Line 16: Line 16:
}}
}}


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


[[Category:Templates]]
[[Category:Templates]]


</noinclude>
</noinclude>

Revision as of 23:51, 29 September 2021

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).