Template:Tabber: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
mNo 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}}|}}}</div>}}</div><templatestyles src="Tabber/styles.css"/></includeonly><noinclude> | {{{tab{{#var:key}}|}}}</div>}}</div><templatestyles src="Tabber/styles.css"/></includeonly><noinclude> | ||
Used for inserting a tab box containing | Used for inserting a tab box containing any number of content tabs. | ||
'''Optional parameters''' (not needed in most cases): <code>align</code> (left/right/center), <code>width</code>, <code>height</code>. | |||
When used in an infobox, it's generally recommended to set all images to the same width. For example: | When used in an infobox, it's generally recommended to set all images to the same width. For example: |