Template:Sidebar/doc
This is a documentation subpage for Template:Sidebar.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This is a metatemplate used to aid in the creation of sidebar templates.
Sub-metatemplates
This template has 1 sub-metatemplate called {{infobox}}.
Grand-metatemplates
This template has 1 grand-metatemplate called {{infobox template}}.
Testcases
Testcases for this template can be located on the testcases subpage.
Copy and Paste
Usage & Preview
Parameter | Description | Example | |
---|---|---|---|
{{{header}}} | Header content | ||
{{{section <1-10>}}} | Main content section dividers | ||
{{{content <1-10>}}} | Main content | ||
{{{footer}}} | Footer content | ||
{{{width}}} | Width of the sidebar container and sidebar image | ||
Image parameters | |||
{{{image}}} | Sidebar image | ||
{{{imagewidth}}} | Sidebar image width | ||
{{{imagelink}}} | Sidebar image link | ||
Style parameters | |||
{{{headerstyle}}} | Header styling | ||
{{{section <1-20> style}}} | Section styling | ||
{{{content <1-20> style}}} | Content styling | ||
{{{footerstyle}}} | Footer styling | ||
{{{float}}} | For specifying how or if the sidebar will float |