Template:Collapsible

From AddOn Studio
Revision as of 09:19, 8 June 2014 by Bear (talk | contribs) (Created page with "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= [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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