Template:Multi Infobox/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Multi Infobox.
It contains usage information, categories, and other content that is not part of the original template page.
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
}}