Template:Multi infobox/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(transfer from RS3 wiki)
 
No edit summary
 
Line 3: Line 3:


For example:
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==
==Usage==

Latest revision as of 15:08, 7 January 2025

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:

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