Template:Sidebar/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
This is a metatemplate used to aid in the creation of sidebar templates. | This is a metatemplate used to aid in the creation of sidebar templates. | ||
== Sub-metatemplates == | |||
This template has 1 sub-metatemplate called {{tl2|infobox}}. | |||
== Testcases == | == Testcases == |
Revision as of 04:43, 29 May 2023

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}}.
Testcases
Testcases for this template can be located on the testcases subpage.
Copy and Paste
Usage & Preview
Parameter | Description | Example | |
---|---|---|---|
{{{title}}} | Sidebar title | ||
{{{header}}} | Header content | ||
{{{section <1-2>}}} | Main content section dividers | ||
{{{content <1-2>}}} | Main content | ||
{{{footer}}} | Footer content | ||
{{{width}}} | Width of the sidebar container and sidebar image | ||
Image parameters | |||
{{{image}}} | Sidebar image | ||
{{{imageformat}}} | File extension for the sidebar image | ||
{{{imagewidth}}} | Sidebar image width | ||
Style parameters | |||
{{{float}}} | For specifying how or if the sidebar will float |