From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
EnglishThis template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
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
{{Sidebar
| image =
| title =
| header =
| section1 =
| content1 =
| footer =
}}
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
|
| image = Software Cover - The Lab
|
{{{imagewidth}}}
|
Sidebar image width
|
|
{{{imagelink}}}
|
Sidebar image link
|
|
Style parameters
|
{{{headerstyle}}}
|
Header styling
|
| headerstyle = font-family:sans-serif;
|
{{{section <1-20> style}}}
|
Section styling
|
| sectionstyle1 = text-rendering:optimizeSpeed;
|
{{{content <1-20> style}}}
|
Content styling
|
| contentstyle1 = background:gray;
|
{{{footerstyle}}}
|
Footer styling
|
| footerstyle = text-align:right;
|
{{{float}}}
|
For specifying how or if the sidebar will float
|
|
{{{section}}}
{{{content}}}
{{{footer}}}