Template:Databox/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{dochead}} | {{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: | You type: | ||
| Line 11: | Line 14: | ||
You get: | 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 | | Title | ||
| Contents | | Contents | ||
}} | }} | ||
{{Escape notice}} | |||