Template:Tab: Difference between revisions
From MediaWiki
Jump to navigationJump to search
JS plus MW markup for tabs |
m Prime Radiant moved page Template:Tabtest to Template:Tab: Tabs seem to be working on test page. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | |||
|o=<div class="tabber" {{#if:{{{2|}}}|style="width:{{{2}}}"}}> | |o=<div class="tabber" {{#if:{{{2|}}}|style="width:{{{2}}}"}}> | ||
|o-info=<div class="tabber info" style="width:{{{2|250px}}}"> | |o-info=<div class="tabber info" style="width:{{{2|250px}}}"> | ||
| Line 8: | Line 8: | ||
|c=</div> | |c=</div> | ||
|#default=<div class="tabbertab" title="{{{1|}}}" {{#if:{{{2|}}}|style="background:{{{2}}}"}}> | |#default=<div class="tabbertab" title="{{{1|}}}" {{#if:{{{2|}}}|style="background:{{{2}}}"}}> | ||
}} | }} | ||

