Template:Tabber/doc
Jump to navigation
Jump to search
(Caution: This template requires JavaScript codes that haven't been applied site-wide and is not ready for use in articles. See User:HyperNervie/sandbox to learn more.)
This template creates a tabber.
Paramenters
{{{tab-n}}}where n is a positive integer: Content of label #n. Unlike<tabber>provided by Extension:TabberNeue, you can pass any wikitext here - images, HTML tags, anything that contains "=" (which in<tabber>leads to text before it parsed as tab content and text after it parsed as panel content), etc. Be careful when adding a link to a label: clicking on the link directs you to another page instead of opening the tab.{{{content-n}}}where n is a positive integer: Content of panel #n.{{{shown}}}: Index of the tab that is shown at first. If missing or not a positive integer no greater than the number of actual tabs, show the first tab at first.{{{tab-align}}}and{{{content-align}}}: Optional text alignment of labels and panels respectively. Can beleft,centerorright.
Example
{{tabber
|shown=3
|tab-1=<span title="Rhythm Tengoku">[[File:ConsoleGBA Icon.png|32px|link=]]</span>
|content-1=[[File:Prologue GBA The Clappy Trio 2.png|240px]]
|tab-2=<span title="Rhythm Tengoku (Arcade)">[[File:ConsoleArcade Icon.png|32px|link=]]</span>
|content-2=[[File:Prologue Arcade The Clappy Trio 2.png|240px]]
|tab-3=<span title="Rhythm Heaven Fever">[[File:ConsoleWii Icon.png|32px|link=]]</span>
|content-3=[[File:Prologue Wii The Clappy Trio 2.png|240px]]
|tab-4=<span title="Rhythm Heaven Megamix">[[File:Console3DS Icon.png|32px|link=]]</span>
|content-4=[[File:Prologue 3DS The Clappy Trio 2.png|240px]]
}}
Creates a tabber as below:
