From Discworld MUD Wiki
Revision as of 18:40, 26 January 2010 by Chat (Talk | contribs) (Creating template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



This template can be used to combine multiple infoboxes into a single, tabbed box. Clicking on a tab switches the view between the different infoboxes.


  • num-boxes - The number of infoboxes used. Up to 4 are currently supported.
  • name1, name2, etc. - The name for the tab for each infobox.
  • box1, box2, etc. - The infobox templates. For unknown reasons, you need to start each of these parameters with '<nowiki></nowiki>'

Sub pages

For weapons and other uses it is best to make sub pages with one infobox per page so that the data within can be individually included in tables. You put it like this:

 |name1=<small>[[{{PAGENAME}} (weapon)|modify]]</small> <br/> Weapon
 |name2=<small>[[{{PAGENAME}} (faith rod)|modify]]</small> <br/> Faith rod
 |box1=<nowiki></nowiki>{{:{{PAGENAME}} (weapon)}}
 |box2=<nowiki></nowiki>{{:{{PAGENAME}} (faith rod)}}

This is an example for weapon/faith rod, but you can adapt it to multiple weapons, etc.

For the sub pages check with the infobox page you're putting. For weapons see {{Weapon data}}.

No sub pages

To make a Multiinfobox within the same page, you can used this example:

|name1=Stat item
|box1=<nowiki></nowiki>{{Infobox Stat Item
|box2=<nowiki></nowiki>{{Infobox armour
 |Vs sharp=poor
 |Vs blunt=average
 |Vs pierce=poor
 |Weight=3 lb