Template:Multi Infobox

From RuneRealm Wiki
Jump to navigation Jump to search
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
}}