Template:Databox/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 11: | Line 11: | ||
You get: | You get: | ||
{{{{ | {{{{ROOTPAGENAME}} | ||
| Title | | Title | ||
| Contents | | Contents | ||
| Line 25: | Line 25: | ||
</pre> | </pre> | ||
{{ | {{{{ROOTPAGENAME}}|collapse=false | ||
| Title | | Title | ||
| Contents | | Contents | ||
Revision as of 00:14, 12 September 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: Pipe characters (|) must be escaped as {{!}} or {{pipe}}, equals signs must be escaped as {{=}} (this may apply to tags as well, e.g. <div style{{=}}"…">), and other special characters and character sequences may need to be escaped accordingly, except for ones inside <nowiki>, <pre>, <math>, and <syntaxhighlight> tags.