Difference between revisions of "Template:Tab bar"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Update)
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="plainlinks" style="width:{{{width|auto}}}; float:right;"
+
<div style="width:100%; margin-bottom:8px;>
  +
{{#if:{{{link1|}}}|
|- class="tabbar-red"
 
  +
{{#ifeq:{{{current|}}}|{{{link1}}}
! style="width:8px; background:#990000;" |
 
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label1}}}</span>&nbsp;&nbsp;
| style="padding:5px 5px 5px 10px;" | [[{{{link1}}}|{{{label1}}}]]
 
  +
| [[{{{link1}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label1}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
|- class="tabbar-green"
 
  +
}}
! style="width:8px; background:#339966;" |
 
  +
}}
| style="padding:5px 5px 5px 10px;" | [[{{{link2}}}|{{{label2}}}]]
 
  +
{{#if:{{{link2|}}}|
|- class="tabbar-blue"
 
  +
{{#ifeq:{{{current|}}}|{{{link2}}}
! style="width:8px; background:#A7D7F9;" |
 
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label2}}}</span>&nbsp;&nbsp;
| style="padding:5px 5px 5px 10px;" | [[{{{link3}}}|{{{label3}}}]]
 
  +
| [[{{{link2}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label2}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
|- class="tabbar-gray"
 
  +
}}
! style="width:8px; background:#666666;" |
 
  +
}}
| style="padding:5px 5px 5px 10px;" | [[{{{link4}}}|{{{label4}}}]]
 
  +
{{#if:{{{link3|}}}|
|}<noinclude>[[Category:Visual identity templates]]</noinclude>
 
  +
{{#ifeq:{{{current|}}}|{{{link3}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label3}}}</span>&nbsp;&nbsp;
  +
| [[{{{link3}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label3}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link4|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link4}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label4}}}</span>&nbsp;&nbsp;
  +
| [[{{{link4}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label4}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link5|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link5}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label5}}}</span>&nbsp;&nbsp;
  +
| [[{{{link5}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label5}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link6|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link6}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label6}}}</span>&nbsp;&nbsp;
  +
| [[{{{link6}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label6}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link7|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link7}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label7}}}</span>&nbsp;&nbsp;
  +
| [[{{{link7}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label7}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link8|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link8}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label8}}}</span>&nbsp;&nbsp;
  +
| [[{{{link8}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label8}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link9|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link9}}}
  +
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c6ecd9|blue=b3daff}}; color:#000000; border:1px silver dotted;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;">{{{label9}}}</span>&nbsp;&nbsp;
  +
| [[{{{link9}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=990000|green=339966|blue=0063BF}}; 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;">{{{label9}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
</div>
 
<noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 00:03, 15 September 2018