Template:Sidebar/doc

For the previous Template:Sidebar, use. 'That was its code.

This template is intended as a metatemplate for sidebar templates (vertically-aligned navigation (navbox) templates usually positioned on the righthand sides of pages) in the same spirit as Infobox for infobox templates and Navbox for navbox templates.

Currently, two preformatted versions of Sidebar– Sidebar with dividers and Sidebar with heading backgrounds– and one variant, Sidebar with collapsible lists, are also offered. The two preformatted versions provide layouts used by the majority of sidebars in Wikipedia, while 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.

Pro forma
Parameters with infrequent use omitted. 

Parameters
No parameters are required unless Tnavbar links ("v·d·e") are to appear at the bottom of the sidebar, in which case the parameter name is needed (see entry in the table immediately below).

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

Full blank syntax
(omitting sections 4 to penultimate)

