Template:Multi Infobox/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:38, 17 October 2024 (Created page with "{{Documentation}} 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 du..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
}}