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:{{{class|}}}|{{{class}}}}}" style="{{#if:{{{width|}}}|width:{{{width}}}}}">
<includeonly><div class="tabber" style="{{#if:{{{width|}}}|width:{{{width}}}}}">
{{#if:{{{tab1|}}}|<div class="tabbertab" title="{{{title1}}}">
{{#if:{{{tab1|}}}|<div class="tabbertab" title="{{{title1}}}">
{{{tab1}}}
{{{tab1}}}
Line 31: Line 31:
</div>}}
</div>}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Used for inserting tabs on the wiki.</noinclude>
Used for inserting up to 10 tabs on the wiki. The <code>width</code> parameter is optional. Format:
 
<pre>{{tabber
|width=260px
|title1=Tab name 1
|tab1=Tab content 1
|title2=Tab name 2
|tab2=Tab content 2
|title3=Tab name 3
|tab3=Tab content 3}}</pre>
 
[[Category:Templates]]</noinclude>

Revision as of 20:06, February 22, 2019

Used for inserting up to 10 tabs on the wiki. The width parameter is optional. Format:

{{tabber
|width=260px
|title1=Tab name 1
|tab1=Tab content 1
|title2=Tab name 2
|tab2=Tab content 2
|title3=Tab name 3
|tab3=Tab content 3}}