Changes
Jump to navigation
Jump to search
further notes concerning embedding (just got bit by this when reformatting template:Infobox NFL player
| child = yes
| title = Second subsection
| label1= Label 2.1
| data1 = Data 2.1
}}
|belowstyle =
|below = Below text
}}
</pre>
Note, in the examples above, the child infobox is placed in a <code>data</code> field, not a <code>header</code> field. The title will be enclosed in {{tag|b}} bold tags, which can create a "double bolding effect" in some browsers if the child infobox is placed in a <code>header</code> field. To place the child infobox in a header field and avoid the double bolding effect, use
{{Infobox
| title = Top level title
| header1 = First subsection
{{Infobox
| child = yes
| title =
| label1= Label 1.1
| data1 = Data 1.1
}}
| header2 = Second subsection
{{Infobox
| child = yes
| label1= Label 2.1
| data1 = Data 2.1
}}
|belowstyle =
|below = Below text
}}
<pre style="overflow:auto">
{{Infobox
| title = Top level title
| header1 = First subsection
{{Infobox
| child = yes
| title =
| label1= Label 1.1
| data1 = Data 1.1
}}
| header2 = Second subsection
{{Infobox
| child = yes
| label1= Label 2.1
| data1 = Data 2.1