Template:Invoke: Sidebar

This template is intended to be a metatemplate for sidebar templates, which are vertically-aligned navigation templates. The sidebar is usually positioned on the right-hand side of a page, in the same way as the template is aligned for infoboxes.

Sidebar with collapsible lists adds collapsibility to a sidebar's sections, i.e., the means to show or hide sections by clicking links beside their headings.

Usage
(parameters with infrequent use omitted) 

Parameters
No parameters are required unless navbar links (V - T - E) are to appear at the bottom of the sidebar, in which case the name parameter is needed (see entry in the table immediately below).

Handling long links
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.

Embedding
One sidebar template can be embedded into another using the child parameter. This feature can be used to create a modular sidebar, or to create more well defined logical sections.



Note, in the examples above, the child infobox is placed in a  field, not a   field. Notice that the section subheadings are not in bold font if bolding is not explicitly specified. To obtain bold section headings, place the child infobox in a  field, either using



or,



Note that omitting the title parameter, and not including any text preceding the embedded sidebar, may result in spurious blank table rows, creating gaps in the visual presentation.

Full blank syntax
(omitting sections 4 to penultimate)



Supplementary documentation
Supplementary documentation relevant to navigational functionality through 'navbar' coding in a sidebar is at Template:Navbar/doc.