420
edits
HyperNervie (talk | contribs) (Created page with "(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 == * {{param|tab-''n''}} where ''n'' is a positive integer: Content of label #''n''. Unlike <code><tabber></code> provided by Extension:TabberNeue, you can pass any wikitext here - images, HTML tags,...") |
HyperNervie (talk | contribs) No edit summary |
||
| Line 7: | Line 7: | ||
* {{param|content-''n''}} where ''n'' is a positive integer: Content of panel #''n''. | * {{param|content-''n''}} where ''n'' is a positive integer: Content of panel #''n''. | ||
* {{param|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. | * {{param|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. | ||
* {{param|tab- | * {{param|tab-centered}} and {{param|content-centered}}: Pass a string with any non-space characters to center-align labels and panels respectively. | ||
== Example == | == Example == | ||
| Line 13: | Line 13: | ||
{{tabber | {{tabber | ||
|shown=3 | |shown=3 | ||
|tab-centered=yes | |||
|content-centered=yes | |||
|tab-1=<span title="Rhythm Tengoku">[[File:ConsoleGBA Icon.png|32px|link=]]</span> | |tab-1=<span title="Rhythm Tengoku">[[File:ConsoleGBA Icon.png|32px|link=]]</span> | ||
|content-1=[[File:Prologue GBA The Clappy Trio 2.png|240px]] | |content-1=[[File:Prologue GBA The Clappy Trio 2.png|240px]] | ||
| Line 25: | Line 27: | ||
Creates a tabber as below: | Creates a tabber as below: | ||
{{tabber | {{tabber | ||
|shown=3 | |shown=3 | ||
|tab-centered=yes | |||
|content-centered=yes | |||
|tab-1=<span title="Rhythm Tengoku">[[File:ConsoleGBA Icon.png|32px|link=]]</span> | |tab-1=<span title="Rhythm Tengoku">[[File:ConsoleGBA Icon.png|32px|link=]]</span> | ||
|content-1=[[File:Prologue GBA The Clappy Trio 2.png|240px]] | |content-1=[[File:Prologue GBA The Clappy Trio 2.png|240px]] | ||
edits