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 22: | Line 22: | ||
== Usage & Preview == | == Usage & Preview == | ||
{{CodeBlock|<nowiki>{{Sidebar}}</nowiki>}} | {{CodeBlock|<nowiki>{{Sidebar}}</nowiki>}} | ||
{|class="standard-table" | style="text-align:center;" | |||
<div style="display:flex; gap:1em; margin-top:1em;"><div style="flex:1"> | |||
{|class="standard-table" | style="text-align:center; margin:0; width:100%;" | |||
|- | |- | ||
! style=width:50%; | {{Dictionary/common|Param}} | ! style=width:50%; | {{Dictionary/common|Param}} | ||
Line 93: | Line 88: | ||
|- | |- | ||
|}</div> | |}</div> | ||
<div>{{Sidebar | |||
| image = Software Cover - The Lab.jpg | |||
| float = none | |||
| header = {{param|header}} | |||
| section1 = {{param|section}} | |||
| content1 = {{param|content}} | |||
| footer = {{param|footer}} | |||
}}</div> | |||
__NOTOC__ | __NOTOC__ |
Latest revision as of 10:15, 4 June 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}}.
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 |