Template:InfoboxGobbler

From Inkipedia, the Splatoon wiki
Revision as of 05:13, 21 December 2017 by GuyPerfect (talk | contribs) (Adding documentation)

Moves all infoboxes on a page into a tabbed interface.

Ordinarily, multiple infoboxes are used when the data differs between games. Wherever this template is used on a page via {{InfoboxGobbler}}, the infoboxes will be combined into a single tab-controlled infobox.

The tabbed functionality requires JavaScript on the client. If JavaScript is not available, then the infoboxes will not be moved from their original locations on the page. For this reason, it's important to design pages with separate infobox in appropriate places before rolling them together with this template.

If only one infobox is present, it will still be moved, but no tab strip will be generated since there are no other infoboxes to switch between.