Template:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 69: | Line 69: | ||
| Sidebar image width | | Sidebar image width | ||
| {{CodeBlock|margin=5px|<nowiki>| imagewidth = 64px</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| imagewidth = 64px</nowiki>}} | ||
|- | |||
| {{param|imagelink}} | |||
| Sidebar image link | |||
| {{CodeBlock|margin=5px|<nowiki>| imagelink = Portal 2</nowiki>}} | |||
|- | |- | ||
! colspan=4 | Style parameters | ! colspan=4 | Style parameters |
Revision as of 22:12, 31 May 2023

This is a documentation subpage for Template:Infobox.
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 sub-metatemplate of {{sidebar}} that is designed to help create infobox templates.
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
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 | ||
{{{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 | ||
{{{entryid <1-2> style}}} | Entry idbox styling | ||
{{{entryinfo <1-2> style}}} | Entry infobox styling | ||
{{{footerstyle}}} | Footer styling | ||
{{{float}}} | For specifying how or if the sidebar will float |