Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<onlyinclude><includeonly>{{sidebar | width = {{{width|300px}}} | image = {{{image|}}} | imagewidth = {{{imagewidth|300px}}} | imagelink = {{{imagelink|}}} | float = {{{float|right}}} | header = {{{header|}}} | footer = {{{footer|}}} | headerstyle = {{{headerstyle|}}} | footerstyle = {{{footerstyle|}}} | section1 = {{#if:{{{section1|}}}|<div style="font-size:14px; font-weight:700; color:#fff; margin:0; padding:0;">{...") |
(No difference)
|
Revision as of 03:16, 4 January 2025
Template Documentation [edit]
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
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-20> style}}} | Entry idbox styling | ||
{{{entryinfo <1-20> style}}} | Entry infobox styling | ||
{{{footerstyle}}} | Footer styling | ||
{{{float}}} | For specifying how or if the sidebar will float |
{{{header}}}
{{{section1}}}
{{{entryid1}}}
{{{entryinfo1}}}
{{{entryid2}}}
{{{entryinfo2}}}
{{{footer}}}