Changes
Add example of embedding, may need some copyediting
;data(n): Text to display as data in row n.
;below: Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information.
;child: See [[#embedding|embedding]] section
Note: currently, headers, labels and data items with the same n-value are not mutually exclusive; all of them will be displayed. See the rendering of header4, label4, and data4 in the examples section below.
|below = Below text
}}
<pre style="overflow: auto">
{{Infobox
|bodystyle = width:20em;
|name = Infobox/doc
|title = Test Infobox
|titlestyle =
|headerstyle =
|labelstyle = width:33%
|datastyle =
|header1 =
|label1 = Label 1
|data1 = Data 1
|header2 =
|label2 = Label 2
|data2 = Data 2
|header3 =
|label3 = Label 3
|data3 = Data 3
|header4 = Header 4
|label4 =
|data4 =
|header5 =
|label5 = Label 5
|data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|belowstyle =
|below = Below text
}}
</pre>
{{clear}}
===Embedding===
One infobox template can be embedded into another using the {{para|child}} parameter. This feature can be used to create a modular infobox, or to create more well defined logical sections.
{{Infobox
| title = Top level title
| data1 = {{Infobox
| child = yes
| title = First subsection
| label1= Label 1.1
| data1 = Data 1.1
}}
| data2 = {{Infobox
| child = yes
| title = Second subsection
| label1= Label 2.1
| data1 = Data 2.1
}}
|belowstyle =
|below = Below text
}}
<pre style="overflow:auto">
{{Infobox
| title = Top level title
| data1 = {{Infobox
| child = yes
| title = First subsection
| label1= Label 1.1
| data1 = Data 1.1
}}
| data2 = {{Infobox
| child = yes
| title = Second subsection
| label1= Label 2.1
| data1 = Data 2.1
}}
|belowstyle =
|below = Below text
}}
</pre>
=== Full blank syntax ===