Changes
For example, this code will display properly:
{{Infobox |name = Infobox/doc |header3 = Section 1 | label48 = Label A | data48 = Data A | data92 = Data B | label136 = Label C | data136 = Data C |header177 = Section 2 | label215 = Label D | data215 = Data D}}<div style="overflow:auto"> <nowiki>{{</nowiki>Infobox |header<b style="color:black;background:#AFA">3</b> = Section 1 | | label<b style="color:black;background:#AFA">48</b> = Label A | data<b style="color:black;background:#AFA">48</b> = Data A | data<b style="color:black;background:#AFA">92</b> = Data B | | label<b style="color:black;background:#AFA">136</b> = Label C | data<b style="color:black;background:#AFA">136</b> = Data C |header<b style="color:black;background:#AFA">177</b> = Section 2 | | label<b style="color:black;background:#AFA">215</b> = Label D | data<b style="color:black;background:#AFA">215</b> = Data D <nowiki>}}</nowiki></div>{{clear}}
But in this code, only Section 1, Label A and Data A will be displayed, because Data B is numbered too far away from Data A (and then all the rest is ignored):
{{Infobox
|header3 = Section 1 | label48 = Label A | data48 = Data A | data102 = Data B | label103 = Label C | data103 = Data C |header115 = Section 2 | label120 = Label D |data120 = Data D}}<div style="overflow:auto">
<nowiki>{{</nowiki>Infobox
<nowiki>}}</nowiki>
</div>{{clear}}
Note that parameter values may be blank - parameters are counted unless they are completely absent, in header() and data(n), from the template invocation:
{{Infobox |name = Infobox/doc |header3 = Section 1 | label48 = Label A | data48 = Data A | data70 = | data102 = Data B | label103 = Label C | data103 = Data C |header115 = Section 2 | label120 = Label D |data120 = Data D}}<div style="overflow:auto"> <nowiki>{{</nowiki>Infobox |header<b style="color:black;background:#AFA">3</b> = Section 1 | | label<b style="color:black;background:#AFA">48</b> = Label A | data<b style="color:black;background:#AFA">48</b> = Data A | data<b style="color:black;background:#AFA">70</b> = | data<b style="color:black;background:#AFA">102</b> = Data B | | label<b style="color:black;background:#AFA">103</b> = Label C | data<b style="color:black;background:#AFA">103</b> = Data C |header<b style="color:black;background:#AFA">115</b> = Section 2 | | label<b style="color:black;background:#AFA">120</b> = Label D | data<b style="color:black;background:#AFA">120</b> = Data D <nowiki>}}</nowiki>
</div>{{clear}}
If only '''label(n)''' is specified (even with a non-empty value) but neither '''header(n)''' nor '''data(n)''', the parameter is ignored and considered as if it was missing:
{{Infobox |name = Infobox/doc |header3 = Section 1 | label48 = Label A | data48 = Data A | label70 = Dummy label | data102 = Data B | label103 = Label C | data103 = Data C |header115 = Section 2 | label120 = Label D |data120 = Data D}}<div style="overflow:auto"> <nowiki>{{</nowiki>Infobox |header<b style="color:black;background:#AFA">3</b> = Section 1 | | label<b style="color:black;background:#AFA">48</b> = Label A | data<b style="color:black;background:#AFA">48</b> = Data A | | <b style="color:black;background:#FAA">label70</b> = Dummy label | data<b style="color:black;background:#AFA">102</b> = Data B | | label<b style="color:black;background:#AFA">103</b> = Label C | data<b style="color:black;background:#AFA">103</b> = Data C |header<b style="color:black;background:#AFA">115</b> = Section 2 | | label<b style="color:black;background:#AFA">120</b> = Label D | data<b style="color:black;background:#AFA">120</b> = Data D <nowiki>}}</nowiki>
</div>{{clear}}