Template:Sidebar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<onlyinclude><includeonly><div style="clear:both; float:{{{float|right}}}; width:{{{width|300px}}}; margin-inline:10px;"><!-- --><div style="background:#323232; border-radius:.3em; box-shadow:rgb(0,0,0,.1) 0 0 4px .1em; text-align:center;"><!-- -->{{#if:{{{header|}}}|<div style="background:#232323; border-top-left-radius:.3em; border-top-right-radius:.3em; padding-block:.5em; {{{headerstyle}}}"><div style="color:#fff; font-weight:bold; font-size:132%; padding:0;">{{{hea...") |
(No difference)
|
Revision as of 03:17, 4 January 2025
Template Documentation [edit]
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 | ||