You should use a more specific infobox template if one is available.
This template is the base for all infoboxes.
There is more detailed documentation on Wikipedia.
Usage
In a template
When creating another infobox template, the code might look something like this:
{{Infobox
| title = {{{title|}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{{caption|}}}
| headerstyle = background:#0a5ba6;color:#fff; <!-- This line makes it so headers in the infobox are white text on a blue background. -->
| header1 = Discord info
| label2 = Discord tag
| data2 = {{{discordtag|}}}
| label3 = Discord ID
| data3 = {{{discordid|}}}
}}
Directly in an article
This template usually shouldn't be used directly in articles. You should use a more specific infobox template if one is available. If there isn't a better option, then here is what using this directly in an article might look like:
{{Infobox
| title = Barack Obama
| image = [[File:Obama crying.jpg|180px]]
| caption = Obama why the long face???
| headerstyle = background:#0a5ba6;color:#fff;
| header1 = Discord info
| label2 = Discord tag
| data2 = Obama#0001
| label3 = Discord ID
| data3 = 123456789012345678
}}
Full blank syntax
Note that there's no limit to the number of possible rows; this example stops at 20 since most infoboxes aren't that long. You can extend the numbering as needed.
{{Infobox
| name = {{subst:PAGENAME}}
| child = {{{child|}}} <!-- This parameter can be used if this infobox is being embedded inside another infobox. -->
| subbox = {{{subbox|}}}
| italic title =
| bodystyle =
| titlestyle =
| abovestyle =
| subheaderstyle =
| title =
| above =
| subheader =
| imagestyle =
| captionstyle =
| image =
| caption =
| image2 =
| caption2 =
| headerstyle =
| labelstyle =
| datastyle =
| header1 =
| label1 =
| data1 =
| header2 =
| label2 =
| data2 =
| header3 =
| label3 =
| data3 =
| header4 =
| label4 =
| data4 =
| header5 =
| label5 =
| data5 =
| header6 =
| label6 =
| data6 =
| header7 =
| label7 =
| data7 =
| header8 =
| label8 =
| data8 =
| header9 =
| label9 =
| data9 =
| header10 =
| label10 =
| data10 =
| header11 =
| label11 =
| data11 =
| header12 =
| label12 =
| data12 =
| header13 =
| label13 =
| data13 =
| header14 =
| label14 =
| data14 =
| header15 =
| label15 =
| data15 =
| header16 =
| label16 =
| data16 =
| header17 =
| label17 =
| data17 =
| header18 =
| label18 =
| data18 =
| header19 =
| label19 =
| data19 =
| header20 =
| label20 =
| data20 =
| belowstyle =
| below =
}}