Template:Tabber: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="tabber {{#if:{{{align|}}}|go{{{align}}}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>{{#forargs:title|key|value|<div class="tabbertab" title="{{#var:value}}" {{#if:{{{height|}}}|style="height:{{{height}}}"}}>
<includeonly><div class="tabber {{#if:{{{align|}}}|go{{{align}}}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>{{#forargs:title|key|value|<div class="tabbertab" title="{{#var:value}}" {{#if:{{{height|}}}|style="height:{{{height}}}"}}>
{{{tab{{#var:key}}|}}}
{{{tab{{#var:key}}|}}}</div>}}</div></includeonly><noinclude>
</div>}}</div></includeonly><noinclude>
Used for inserting a tab box containing unlimited content tabs.
Used for inserting a tab box containing unlimited content tabs.



Revision as of 15:58, May 18, 2020

Used for inserting a tab box containing unlimited content tabs.

When used in an infobox, it's generally recommended to set all images to the same width. For example:

{{tabber|title1=Tab 1|tab1=[[File:Image 1.png|250px]]|title2=Tab 2|tab2=[[File:Image 2.png|250px]]}}