Template:Tab: Difference between revisions

auto is the default. better to leave it undefined for cases where other CSS needs to step in and change it without forcing !important
No edit summary
(auto is the default. better to leave it undefined for cases where other CSS needs to step in and change it without forcing !important)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1|}}}
|o=<div class="tabber" style="width:{{{2|auto}}}">
|o=<div class="tabber" style="{{#if:{{{2|}}}|width:{{{2}}}}}">
|o-info=<div class="tabber goright info" style="width:{{{2|250px}}}">
|o-info=<div class="tabber goright info" style="width:{{{2|250px}}}">
|o-left=<div class="tabber goleft" style="width:{{{2|auto}}}">
|o-left=<div class="tabber goleft" style="{{#if:{{{2|}}}|width:{{{2}}}}}">
|o-right=<div class="tabber goright" style="width:{{{2|auto}}}">
|o-right=<div class="tabber goright" style="{{#if:{{{2|}}}|width:{{{2}}}}}">
|o-center=<div class="tabber gocenter" style="width:{{{2|auto}}}">
|o-center=<div class="tabber gocenter" style="{{#if:{{{2|}}}|width:{{{2}}}}}">
|c=</div>
|c=</div>
|#default=<div class="tabbertab" title="{{{1|}}}" style="background:{{{2|white}}}">
|#default=<div class="tabbertab" title="{{{1|}}}" style="background:{{{2|white}}}">