Template:Sidebar with collapsible lists/doc

Sidebar with collapsible lists is a version of Sidebar which offers collapsible lists in addition to Sidebar's content parameters.

Usage
Parameters with infrequent use omitted.

Parameters
This template takes all sidebar parameters. In addition:
 * listntitle
 * The displayed title of the collapsible listn.


 * listn
 * The contents of the collapsible listn.


 * listnclass
 * A class can be added to target a specific list either with TemplateStyles or microformats. See Template:Sidebar.
 * In the context of TemplateStyles, specific list contents can be targeted like so:  for a specific list title and   for a specific list.


 * expanded and listnname
 * expanded is used to indicate which (if any) list named listnname is shown expanded when the template is first displayed; see Collapsible lists option.

A listn without a listntitle displays the default title ("List").

Handling long links
See Template:Sidebar.

TemplateStyles
The classes available for styling, besides those listed in Template:Sidebar, are:


 * The top-level sidebar with collapsible lists class.
 * The top-level sidebar with collapsible lists class.


 * The class is a container when either listntitle or listn is provided in sidebar with collapsible lists.
 * The class is a container when either listntitle or listn is provided in sidebar with collapsible lists.


 * The class associated with a listntitle. Every list title will have this class.
 * The class associated with a listntitle. Every list title will have this class.


 * The class associated with a listn. Every list content will have this class.
 * The class associated with a listn. Every list content will have this class.

Deprecated parameters
These parameters are deprecated for the same reason as the style parameters in Template:Sidebar.
 * listtitlestyle and liststyle
 * These are the equivalent of, respectively, Collapsible list's titlestyle and liststyle parameters.


 * listframestyle
 * Sets the framestyle (see Collapsible list) for the lists.


 * listNframestyle
 * Sets the framestyle for listN, overriding listframestyle.


 * listNtitlestyle
 * Sets the titlestyle for listN, overriding listtitlestyle above.


 * listNstyle
 * Sets the liststyle for listN, overriding liststyle above.