Template:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (→Copy and Paste) |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 45: | Line 45: | ||
| {{param|entryid <1-2>}} | | {{param|entryid <1-2>}} | ||
| Entry idboxes | | Entry idboxes | ||
| {{CodeBlock|margin=5px|<nowiki>| | | {{CodeBlock|margin=5px|<nowiki>| entryid1 = Example </nowiki>}} | ||
|- | |- | ||
| {{param|entryinfo <1-2>}} | | {{param|entryinfo <1-2>}} | ||
| Entry infoboxes | | Entry infoboxes | ||
| {{CodeBlock|margin=5px|<nowiki>| | | {{CodeBlock|margin=5px|<nowiki>| entryinfo2 = Placeholder </nowiki>}} | ||
|- | |- | ||
| {{param|width}} | | {{param|width}} | ||
Line 70: | Line 70: | ||
|- | |- | ||
! colspan=4 | Style parameters | ! colspan=4 | Style parameters | ||
|- | |||
| {{param|entryid <1-2> style}} | |||
| Entry idbox styling | |||
| {{CodeBlock|margin=5px|<nowiki>| entryid1style = background:none;</nowiki>}} | |||
|- | |||
| {{param|entryinfo <1-2> style}} | |||
| Entry infobox styling | |||
| {{CodeBlock|margin=5px|<nowiki>| entryinfo1style = margin:.3em; </nowiki>}} | |||
|- | |- | ||
| {{param|float}} | | {{param|float}} |
Revision as of 06:39, 29 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.
Copy and Paste
Usage & Preview
{{{header}}}
{{{section}}}
{{{entryid1}}}
{{{entryinfo1}}}
{{{entryid2}}}
{{{entryinfo2}}}
{{{footer}}}
Parameter | Description | Example | |
---|---|---|---|
{{{title}}} | Infobox title | ||
{{{header}}} | Header content | ||
{{{section <1-2>}}} | Main content section dividers | ||
{{{entryid <1-2>}}} | Entry idboxes | ||
{{{entryinfo <1-2>}}} | Entry infoboxes | ||
{{{width}}} | Width of the sidebar container and sidebar image | ||
Image parameters | |||
{{{image}}} | Sidebar image | ||
{{{imageformat}}} | File extension for the sidebar image | ||
{{{imagewidth}}} | Sidebar image width | ||
Style parameters | |||
{{{entryid <1-2> style}}} | Entry idbox styling | ||
{{{entryinfo <1-2> style}}} | Entry infobox styling | ||
{{{float}}} | For specifying how or if the sidebar will float |