Template:Sidebar with collapsible lists/doc

Sidebar with collapsible lists is a version of Sidebar which offers collapsible lists as an alternative to Sidebar's content parameters.

Usage
Parameters with infrequent use omitted.

Parameters
The topmost parameters (including name, outertitle, topimage, pretitle, title, image, headingstyle, contentstyle) are described at Sidebar. Other parameters not shown here (e.g. navbar) may also be used.


 * 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.


 * listtitlestyle and liststyle
 * These are the equivalent of, respectively, Collapsible list's titlestyle and liststyle parameters.

Any listN used without an accompanying listNtitle is still presented as a collapsible list under 's default title ("List"); see example opposite. [Perhaps "listN"s without "listNtitle"s should be treated as "contentN"s..?]

Other parameters
In addition to the above, the following collapsible list-related parameters are also available:
 * 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.

Handling long links
As with the sidebar template, normalwraplink may be used to handle links that should wrap within the sidebar or otherwise need to be made to wrap, in order to prevent the sidebar from becoming too wide. Use, where longlinkname is the long link without its square brackets.

Use the true parameter to turn link wrapping off for the whole template.

Examples
Examples of this template can be found by checking the template's backlinks with [//en.wikipedia.org/w/index.php?title=Special%3AWhatLinksHere&target=Template%3ASidebar+with+collapsible+lists&namespace=10 What links here].