Template:Sidebar or footer/doc

A template that transcludes this abstract template will be displayed as a sidebar if the template is called with an empty footer parameter; otherwise, it will be displayed as a footer.

This template supports 3 groups and 14 items per group.

Example
Sidebar or footer/example contains the following code:

If Sidebar or footer/example is called with an empty footer parameter, then it will be displayed as a sidebar.

If Sidebar or footer/example is called with a non-empty footer parameter, then it will be displayed as a footer.