Generic template for a collapsible box. Can be used to format templates with specific purposes. Little default formatting is provided, calling templates should set this as they see fit.

Generally, you should wrap this template in another template for a specific purpose.

  • title: The box title, optional (always show if given)
  • content: The box's main content (this can be collapsed)
  • collapsed: yes to collapse the box by default
  • style_outer: CSS style for the outer box
  • class_outer: CSS classes for the outer box
  • style_title: CSS style for the title
  • class_title: CSS classes for the title
  • style_content: CSS style for the content box
  • class_content: CSS classes for the content box
{{collapsible box
 | title = Box title
 | content = {{lorem ipsum}}
 | style_outer = border: 1px solid blue;
 | style_content = border: 1px solid red;
}}

Box title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

See also

editar
  • Users of this template:
    • {{doc example}}: uses this template for documentation examples