Template:Multi infobox/doc
Jump to navigation
Jump to search
Template:Multi infobox invokes function main in Module:Multi Infobox using Lua.
Template:Multi infobox is used to display infoboxes of different types on a single page, as opposed to Template:Switch infobox, which displays infoboxes of the same type on a single page. This template uses a distinct visual stye for the tabs, allowing regular infoboxes and switch infoboxes to be nested inside each multi infobox tab.
For example:
- This template is used on pet articles, which represent both an item and an NPC follower (see Forum:Standardising entity infoboxes).
- This template is used on real-world book articles, which use both Infobox Published Book and Infobox Merchandise. The former infobox provides information on book metadata (page count, ISBN, etc.), while the latter infobox is needed for the product to appear in the tables on Jagex Store.
Usage
The template supports any number of tabs. Further tabs can be added using higher values of textX and itemX.
{{Multi infobox |text1 = Header 1 |item1 = Infobox 1 |text2 = Header 2 |item2 = Infobox 2 }}