Open main menu

Changes

Template:Infobox/doc

516 bytes added, 16:26, 9 January 2010
adding some development advice
Note that if you want to insert an image elsewhere other than the top of the infobox, or insert other "freeform" data, using a row with just a "data" field allows for that sort of thing.
 
When developing an infobox, it is often a good idea to use non-contiguous numbers for the header and labal/data rows. for example:
<pre>|header3 = Section 1
|label5 = XXX
|data5= YYY
|label7 = QQQ
|data7 = RRR
|header10 = Section2
|label12 = AAA
|data12 = BBB</pre>
Header and labal/data rows are not shown if they have no data, so this construction renders nicely but allows for easy revision and expansion of the template, since new rows can be added without renumbering all the remaining rows in the template.
=== Parameters ===
Anonymous user