Module:InfoboxLite/doc
This is the documentation page for Module:InfoboxLite
Module:InfoboxLite
A lightweight variant of Module:Infobox for infoboxes that don't need the full feature set. Identical interface but with the following removed:
- TemplateStyles loading
child/subboxsupportautoheaders- Navbar
- Italic title
- Nested wikitable support
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 limit
Numbered parameters (data, header, label, image, subheader) are capped, defined by local MAX_ROWS = X below, where X is the defined limit.
If a parameter beyond this limit is detected, up to the original Module:Infobox limit of 50 (e.g. |header11=), the infobox will not render, and an error message will be shown in its place.
Use Module:Infobox directly if you genuinely need more than 10 rows.
Usage
Use Template:InfoboxLite in place of Template:Infobox. All parameters are identical.