Difference between revisions of "Template:Tab bar"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Testing)
(Testing)
Line 3: Line 3:
 
! style="{{#ifeq:{{{current|}}}|{{{link1}}}|background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px #fff solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em; line-height:1.5em;" class="arrowbutton-{{{color|green}}}" {{!}} [[{{{link1}}}|{{{text1}}}]]
 
! style="{{#ifeq:{{{current|}}}|{{{link1}}}|background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px #fff solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em; line-height:1.5em;" class="arrowbutton-{{{color|green}}}" {{!}} [[{{{link1}}}|{{{text1}}}]]
 
| style="width:8px;" |
 
| style="width:8px;" |
! style="{{#ifeq:{{{current|}}}|{{{link2}}}|background:#{{#switch:{{{color|green}}}|red=eddede|green=deede6|blue=dee7ed}}; color:#000000; border:1px #fff solid;|background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff;}} padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em; line-height:1.5em;" class="arrowbutton-{{{color|green}}}" {{!}} [[{{{link2}}}|{{{text2}}}]]
+
! [[<span class="arrowbutton-{{{color|green}}}" style="width:100%; 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;">{{{label}}}</span>]]
 
|}<noinclude>[[Category:Visual identity templates]]</noinclude>
 
|}<noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 00:16, 7 June 2014