Template:collapse
More information
{{{content}}}
- The following documentation is located at Template:collapse/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template is a simple wrapper for {{box-top}}
/ {{box-bottom}}
. The templates have the same appearance, but {{collapse}}
takes the box content as a parameter, instead of the content being sandwiched between the two separate templates.
Usage
Code:
{{collapse|title=My title| * Some collapsible content * Another entry }}
Result:
My title
- Some collapsible content
- Another entry
Available parameters
content
(defaults to the first unnamed parameter)title
(defaults to the second unnamed parameter)bg
— background color for the title bar