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 71: | Line 71: | ||
|- | |- | ||
! colspan=4 | Style parameters | ! colspan=4 | Style parameters | ||
|- | |||
| {{param|headerstyle}} | |||
| Header styling | |||
| {{CodeBlock|margin=5px|<nowiki>| headerstyle = font-family:sans-serif; </nowiki>}} | |||
|- | |- | ||
| {{param|entryid <1-2> style}} | | {{param|entryid <1-2> style}} | ||
Line 79: | Line 83: | ||
| Entry infobox styling | | Entry infobox styling | ||
| {{CodeBlock|margin=5px|<nowiki>| entryinfo1style = margin:.3em; </nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| entryinfo1style = margin:.3em; </nowiki>}} | ||
|- | |||
| {{param|footerstyle}} | |||
| Footer styling | |||
| {{CodeBlock|margin=5px|<nowiki>| footerstyle1 = text-align:right; </nowiki>}} | |||
|- | |- | ||
| {{param|float}} | | {{param|float}} |
Revision as of 21:58, 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 | ||
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 |