Template:Tabber: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="tabber {{#if:{{{float|}}}|go{{{float}}}}}" style="{{#if:{{{width|}}}|width:{{{width}}}}}">
<includeonly><div class="tabber {{#if:{{{float|}}}|go{{{float}}}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}}{{#if:{{{height|}}}|height:{{{height}}}}}">
{{#if:{{{tab1|}}}|<div class="tabbertab" title="{{{title1}}}">
{{#if:{{{tab1|}}}|<div class="tabbertab" title="{{{title1}}}">
{{{tab1}}}
{{{tab1}}}
Line 86: Line 86:
|tab3=Tab content 3}}</pre>
|tab3=Tab content 3}}</pre>


An optional <code>width</code> parameter can be set to define the width of the tab box, and an optional <code>float</code> parameter can be set to <code>left</code> or <code>right</code> to have the tab box float next to the page content.
Optional <code>width</code> and <code>height</code> parameters can be set to define the dimensions of the tab box, and an optional <code>float</code> parameter can be set to <code>left</code> or <code>right</code> to have the tab box float next to the page content.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>