Template:InfoboxGobbler

From Inkipedia, the Splatoon wiki
Revision as of 13:30, 8 October 2024 by 6-Frisk (talk | contribs) (og template was updated, reverting)
This template uses Extension:TemplateStyles!
Its associated CSS subpage is located at:

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.

Parameters

initial Optional. The 1-based index of the infobox to be shown initially, or 0 for the last infobox. By default the last infobox is shown.