Template:Sidebar with collapsible lists/doc

__NOWYSIWYG__

Description
 is a version of the template 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 defined at the Sidebar template page.

The listtitlestyle and liststyle parameters are the equivalent of 's titlestyle and liststyle parameters, while each listNtitle and listN parameter is the equivalent of 's title and unnamed list parameter, respectively.

The listNname parameters are used to identify which, if any, list is to be shown expanded; see.

Other parameters
In addition to the above, the following collapsible list-related parameters are also available:


 * listframestyle : Sets the framestyle (see ) 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, 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 "What links here".