Template:InfoboxLite
Description
This template is a wrapper for Module:InfoboxLite, a minimal and optimised variant of Module:Infobox.
Use this template in place of Template:Infobox. All parameters are identical, with the exception that data rows are capped at 10, i.e. including something like data11 / header11 will result in an error message being displayed.
See Module:InfoboxLite for more information on differences.
Usage Examples
Usage is identical to Template:Infobox.
| Template Call | Output | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
{{InfoboxLite
|above = Placeholder
|image = [[File:Placeholder.png|128px|link=]]
|label1 = Type
|data1 = Placeholder
|label2 = Category
|data2 = Placeholder
|label3 = Contents
|data3 =
* ITEM ONE
* ITEM TWO
* ITEM THREE
}}
|
| ||||||||||
{{InfoboxLite
|header11 = Placeholder
}}
|
⚠ InfoboxLite error: |header11= exceeds the maximum of 10 rows. | ||||||||||
TemplateData
Renders a minimal and optimised variant of the normal Infobox. All parameter types from Template:Infobox are usable here, albeit capped at a limit of 10 for row variables like label1, data1, header1, etc. Any parameters listed below are exclusive to Template:InfoboxLite only.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Wrap infobox | wrap | Whether the infobox will be wrapped in a container with the `infobox-wrapper` class. This is intended for use by templates that need to add custom attributes to the wrapper container itself.
| Boolean | optional |