Template:InfoboxLite: Difference between revisions
Jump to navigation
Jump to search
(refuses to work if placed beforehand) Tags: Undo Reverted |
(wrap all infoboxes) Tags: Manual revert Reverted |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#invoke:InfoboxLite|infobox}}</onlyinclude></includeonly><noinclude> | <includeonly><onlyinclude><div class="infobox-wrapper">{{#invoke:InfoboxLite|infobox}}</div></onlyinclude></includeonly><noinclude> | ||
= Description = | = Description = | ||
Revision as of 05:01, 23 March 2026
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.
| ||||||||||