Difference between revisions of "Template:Tab bar"
Jump to navigation
Jump to search
(Testing) |
(Testing) |
||
Line 1: | Line 1: | ||
<div style="width:100%; margin-bottom:8px;> |
<div style="width:100%; margin-bottom:8px;> |
||
− | {{#if:{{{link1|}}}|[[{{{link1}}} |
+ | {{#if:{{{link1|}}}|{{#ifeq:{{{current|}}}|{{{link1}}}||[[{{{link1}}}{{!}}}}<span class="arrowbutton-{{{color|green}}}" style="{{#ifeq:{{{current|}}}|{{{link1}}}|font-weight:bold; background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px silver solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} font-size:{{{font-size|110%}}}; line-height:1.5em; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">{{{text1}}}{{#ifeq:{{{current|}}}|{{{link1}}}|| »}}</span>{{#ifeq:{{{current|}}}|{{{link1}}}||]] }}}} |
− | {{#if:{{{link2|}}}|[[{{{link2}}}|<span class="arrowbutton-{{{color|green}}}" style="{{#ifeq:{{{current|}}}|{{{link2}}}|background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px silver solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} font-size:{{{font-size|110%}}}; line-height:1.5em; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">{{{text2}}}{{#ifeq:{{{current|}}}|{{{link2}}}|| »}}</span>]] }} |
+ | {{#if:{{{link2|}}}|[[{{{link2}}}|<span class="arrowbutton-{{{color|green}}}" style="{{#ifeq:{{{current|}}}|{{{link2}}}|font-weight:bold; background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px silver solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} font-size:{{{font-size|110%}}}; line-height:1.5em; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">{{{text2}}}{{#ifeq:{{{current|}}}|{{{link2}}}|| »}}</span>]] }} |
− | {{#if:{{{link3|}}}|[[{{{link3}}}|<span class="arrowbutton-{{{color|green}}}" style="{{#ifeq:{{{current|}}}|{{{link3}}}|background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px silver solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} font-size:{{{font-size|110%}}}; line-height:1.5em; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">{{{text3}}}{{#ifeq:{{{current|}}}|{{{link3}}}|| »}}</span>]] }} |
+ | {{#if:{{{link3|}}}|[[{{{link3}}}|<span class="arrowbutton-{{{color|green}}}" style="{{#ifeq:{{{current|}}}|{{{link3}}}|font-weight:bold; background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px silver solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} font-size:{{{font-size|110%}}}; line-height:1.5em; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">{{{text3}}}{{#ifeq:{{{current|}}}|{{{link3}}}|| »}}</span>]] }} |
</div> |
</div> |
||
<noinclude>[[Category:Visual identity templates]]</noinclude> |
<noinclude>[[Category:Visual identity templates]]</noinclude> |
Revision as of 00:26, 7 June 2014
{{#if:|{{#ifeq:|{{{link1}}}||[[{{{link1}}}|}}
]] }}