Module:InfoboxLite/doc
This is the documentation page for Module:InfoboxLite
Module:InfoboxLite
A lightweight, optimised variant of Module:Infobox.
Identical interface but with the following removed:
- Navbar
- Italic title
- TemplateStyles loading
- Nested wikitable support
- Per-row styling parameters
autoheaderschild/subboxsupport
These were removed because there are currently no use cases for them on the wiki, and calling them 150~ times on content-heavy pages (such as Research) was causing Lua CPU timeouts.
Row handling
Numbered parameters are not capped. Rows are detected from the parameters actually supplied and rendered in ascending numeric order, so gaps are permitted: |data1= and |data5= render as two consecutive rows.
Duplicate indices resolve to the same row: data7 and data007 are treated as one.
List handling
List markup (* and #) is only supported for data and below.
Styling
Only box-level styling parameters are supported, e.g. bodyclass, bodystyle.
Per-row equivalents (class, rowclass, rowstyle, rowcellstyle, imagerowclass, and numbered subheaderstyle) are not supported.
Usage
Use Template:InfoboxLite in place of Template:Infobox. Most parameters are identical; see above for exceptions.