Tabber is a global Lua module to create mobile-compatible tabbers, like <tabber></tabber>.

Installation

It is also necessary to include the following CSS on MediaWiki:Wikia.css/MediaWiki:Common.css to override the default infobox styles:

.pi-theme-tabber.portable-infobox {
	width: auto;
	float: none;
	border: none;
	border-radius: 0;
	background: var(--themed-page-background) !important;
}
.pi-theme-tabber .pi-section-contents {
	background: var(--themed-page-background);
	border-bottom: 0.2em solid var(--theme-accent-color);
	padding-bottom: 1em;
}
.pi-theme-tabber .pi-header { display: none; }
.pi-theme-tabber .pi-data-value { font-size: inherit; }
.portable-tabber .pi-section-tab:only-child { display: none; }
.pi-theme-tabber .pi-data:hover { background: none; }

Usage

Every even argument is used as the tab's title, and its following argument is used as the tab's content. Example:

{{Tabber
| Tab 1
| Content of tab 1

| Tab 2
| Content of tab 2
}}

Community content is available under CC-BY-SA unless otherwise noted.