Jump to content

Template:box/documentation

From Wiktionary, the free dictionary
Documentation for Template:box. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is a simple wrapper for {{box-top}} / {{box-bottom}}. The templates have the same appearance, but {{box}} takes the box content as a parameter, instead of the content being sandwiched between the two separate templates.

Usage

[edit]

Code:

{{box|title=My title|
* Some collapsible content
* Another entry
}}

Result:

Available parameters

[edit]
  • content (defaults to the first unnamed parameter)
  • title (defaults to the second unnamed parameter)
  • bg — background color for the title bar