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 22: | Line 22: | ||
== Usage & Preview == | == Usage & Preview == | ||
{{CodeBlock|<nowiki>{{Infobox}}</nowiki>}} | {{CodeBlock|<nowiki>{{Infobox}}</nowiki>}} | ||
{|class="standard-table" | style="text-align:center; width: | |||
<div style="display:flex; gap:1em; margin-top:1em;"><div style="flex:1"> | |||
{|class="standard-table" | style="text-align:center; width:100%; margin-top:0;" | |||
|- | |- | ||
! | ! {{Dictionary/common|Param}} | ||
! | ! {{Dictionary/common|Desc}} | ||
! | ! {{Dictionary/common|Example}} | ||
|- | |- | ||
| {{param|header}} | | {{param|header}} | ||
Line 100: | Line 92: | ||
|- | |- | ||
|}</div> | |}</div> | ||
<div>{{Infobox | |||
| float = none | |||
| image = Software Cover - The Lab.jpg | |||
| header = {{param|header}} | |||
| section1 = {{param|section1}} | |||
| entryid1 = {{param|entryid1}} | |||
| entryinfo1 = {{param|entryinfo1}} | |||
| entryid2 = {{param|entryid2}} | |||
| entryinfo2 = {{param|entryinfo2}} | |||
| footer = {{param|footer}} | |||
}}</div></div> | |||
{{CodeBlock|margin=1em|Hierarchy: [[Template:Sidebar|Sidebar]] {{tint|color=comment|/}} [[Template:Infobox|Infobox]]}} | {{CodeBlock|margin=1em|Hierarchy: [[Template:Sidebar|Sidebar]] {{tint|color=comment|/}} [[Template:Infobox|Infobox]]}} | ||
__NOTOC__ | __NOTOC__ |
Revision as of 10:12, 4 June 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.
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 |