Template:Collapsible

From AddOn Studio
Jump to navigation Jump to search

Convenience template for placing a consistent style expandable content container for 'hiding' or 'showing' content in a wiki page. Uses div for container.

Usage
1= title= [text] - text in the title 'header' bar, such as: 'Widget stuff'.
2= body= [text] - the collapsible content
state= [none|plain|off,show|expand|expanded] 'none' disables collapse, 'hide' starts as collapsed
style=, titlestyle=, bodystyle= HTML style for the outer container, title bar, and body container respectively
class=, titleclass=, bodyclass= HTML classes for outer container, title bar, and body container respectively

See Template:Collapsible/doc for instructions and examples.


Template