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 sub-metatemplate of {{sidebar}} that is designed to help create infobox templates.
Sub-metatemplates
This template has 1 sub-metatemplate called {{infobox template}}.
Sandbox
The sandbox for this page can be found at the sandbox subpage.
Testcases
Testcases for this template can be located on the testcases subpage.
Copy and Paste
{{Infobox
| header =
| image =
| section1 =
| entryid1 =
| entryinfo1 =
| footer =
}}
Usage & Preview
Parameter
|
Description
|
Example
|
{{{header}}}
|
Header content
|
|
{{{section <1-2>}}}
|
Main content section dividers
|
|
{{{entryid <1-2>}}}
|
Entry idboxes
|
|
{{{entryinfo <1-2>}}}
|
Entry infoboxes
|
| entryinfo2 = Placeholder
|
{{{footer}}}
|
Footer content
|
|
{{{width}}}
|
Width of the sidebar container and sidebar image
|
|
Image parameters
|
{{{image}}}
|
Sidebar image
|
| image = Software Cover - The Lab.jpg
|
{{{imagewidth}}}
|
Sidebar image width
|
|
{{{imagelink}}}
|
Sidebar image link
|
|
Style parameters
|
{{{headerstyle}}}
|
Header styling
|
| headerstyle = font-family:sans-serif;
|
{{{entryid <1-20> style}}}
|
Entry idbox styling
|
| entryid1style = background:none;
|
{{{entryinfo <1-20> style}}}
|
Entry infobox styling
|
| entryinfo1style = margin:.3em;
|
{{{footerstyle}}}
|
Footer styling
|
| footerstyle1 = text-align:right;
|
{{{float}}}
|
For specifying how or if the sidebar will float
|
|
{{{entryid1}}}
{{{entryinfo1}}}
{{{entryid2}}}
{{{entryinfo2}}}
{{{footer}}}