Template:collapse

{{{title}}}

{{{content}}}


Usage edit

Code:

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

Result:

My title
  • Some collapsible content
  • Another entry

Available parameters edit

  • content (defaults to the first unnamed parameter)
  • title (defaults to the second unnamed parameter)
  • width — width of the collapsible box
  • bg — background color for the title bar
  • padding — inner padding of the collapsed content area
  • style — custom style for the collapsed content area