Template:Sidebar/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) m (→Copy and Paste) |
||
Line 10: | Line 10: | ||
== Copy and Paste == | == Copy and Paste == | ||
{{CodeBlock|<nowiki>{{Sidebar | {{CodeBlock|<nowiki>{{Sidebar | ||
| image | | image = | ||
| title | | title = | ||
| header | | header = | ||
| section1 | | section1 = | ||
| content1 | | content1 = | ||
| footer | | footer = | ||
}}</nowiki>}} | }}</nowiki>}} | ||
Revision as of 20:49, 30 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 | |
---|---|---|---|
{{{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 | ||
{{{imagewidth}}} | Sidebar image width | ||
Style parameters | |||
{{{headerstyle}}} | Header styling | ||
{{{section <1-2> style}}} | Section styling | ||
{{{content <1-2> style}}} | Content styling | ||
{{{footerstyle}}} | Footer styling | ||
{{{float}}} | For specifying how or if the sidebar will float |