Template:Collapsible: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Creates an expandable 'frame' for hiding or showing optionally by the user. See also Template:News blog item and Template:navbox. ;Usage :date - date usually in the f...") |
(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= [...") |
||
Line 1: | Line 1: | ||
Convenience template for placing a consistent style expandable content container for 'hiding' or 'showing' content in a wiki page. Uses div for container. | |||
;Usage | ;Usage | ||
:1= title= text in the title 'header' bar, such as: 'Widget stuff'. | :1= title= [text] - text in the title 'header' bar, such as: 'Widget stuff'. | ||
:2= body= the collapsible content | :2= body= [text] - the collapsible content | ||
:state= [none|plain|off,show|expand|expanded] 'none' disables collapse, 'hide' starts as collapsed | :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 | :style=, titlestyle=, bodystyle= HTML style for the outer container, title bar, and body container respectively | ||
Line 11: | Line 11: | ||
[[Category: | [[Category:General wiki templates]] | ||
---- | ---- | ||
;Template | ;Template |
Latest revision as of 09:19, 8 June 2014
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