Open main menu

Changes

Template:Infobox/doc

581 bytes added, 13:00, 5 June 2013
==== Number ranges ====
Row numbers may be from 1 to 99 (There is no limit on the number of rows available for situations where more than 99 rows are required, see [[#Embedding|Embedding]] below)use. To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example:
<pre>|header3 = Section 1
|label5 = Label A
|label12 = Label D
|data12 = Data D</pre>
 
It is not recommended to have parameters numbered more than 20 apart. This is due to limitations in processing references and reference lists in the [[WP:Lua|Lua]] programming language on Wikipedia. Parameters numbered more than 20 apart will still be processed, but extra care must be taken if these parameters could contain references or reference lists. In this case, for the references to display properly, the parameters that could contain reference lists (usually {{para|below}}) must appear after the parameters that could contain references. If parameters are numbered less than 20 apart, this is handled automatically by the template.
=== Parameters ===
Anonymous user