Template:Multi Infobox

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:38, 17 October 2024 (Created page with "{{#invoke:Multi Infobox|main}}<noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Multi Infobox/doc. [edit] [history] [purge]
Template:Multi Infobox invokes function main in Module:Multi Infobox using Lua.

This template is used to separate infoboxes of different types on a single page. Unlike Template:Switch infobox, this uses a distinct visual stye for the tabs, allowing regular infobox tabs to be used inside each multi infobox tab.

This is currently only intended to be used on pet articles, which represent both an item and an NPC follower (see Forum:Multi infobox). Pages with both NPC and Monster are explicitly not supported by this template due to the interaction with chatheads and the implementation of switch infobox.


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
}}