Template:Multi infobox/doc

From Brighter Shores Wiki
Revision as of 15:06, 7 January 2025 by Alsang (talk | contribs) (transfer from RS3 wiki)
(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.

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