Template:Infobox

From DisNCord Community Wiki
Revision as of 09:20, 15 January 2023 by Knuxify (talk | contribs) (add imagecaption parameter)
Jump to navigation Jump to search

Usage example

{{#if:Disncord logo 2x.png|
Example Infobox

DisNCord Logo
Section Header
Title 1Value 1
InfoboxesAre cool!
Section 2 Header
FooBar

Headers are defined by setting the header{n} parameter. Rows are defined by setting the title{n} and value{n}.

The {n} value decides the order of the header/row. You cannot use the same {n} for a header and a row. You must use the same {n} for a title and value for one row.

{{Infobox
| title = Example Infobox
| image = Disncord logo 2x.png
| imagecaption = DisNCord Logo
| header1 = Section Header
| title2 = Title 1
| value2 = Value 1
| title3 = Infoboxes
| value3 = Are cool!
| header4 = Section 2 Header
| title5 = Foo
| value5 = Bar
|}}