Difference between revisions of "Template:Tab bar"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Expand)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{#if:{{{link1|}}}|
 
{{#if:{{{link1|}}}|
 
{{#ifeq:{{{current|}}}|{{{link1}}}
 
{{#ifeq:{{{current|}}}|{{{link1}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
| [[{{{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;
 
}}
 
}}
Line 8: Line 8:
 
{{#if:{{{link2|}}}|
 
{{#if:{{{link2|}}}|
 
{{#ifeq:{{{current|}}}|{{{link2}}}
 
{{#ifeq:{{{current|}}}|{{{link2}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
| [[{{{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;
 
}}
 
}}
Line 14: Line 14:
 
{{#if:{{{link3|}}}|
 
{{#if:{{{link3|}}}|
 
{{#ifeq:{{{current|}}}|{{{link3}}}
 
{{#ifeq:{{{current|}}}|{{{link3}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
}}
 
}}
Line 20: Line 20:
 
{{#if:{{{link4|}}}|
 
{{#if:{{{link4|}}}|
 
{{#ifeq:{{{current|}}}|{{{link4}}}
 
{{#ifeq:{{{current|}}}|{{{link4}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
}}
 
}}
Line 26: Line 26:
 
{{#if:{{{link5|}}}|
 
{{#if:{{{link5|}}}|
 
{{#ifeq:{{{current|}}}|{{{link5}}}
 
{{#ifeq:{{{current|}}}|{{{link5}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
}}
 
}}
Line 32: Line 32:
 
{{#if:{{{link6|}}}|
 
{{#if:{{{link6|}}}|
 
{{#ifeq:{{{current|}}}|{{{link6}}}
 
{{#ifeq:{{{current|}}}|{{{link6}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
}}
 
}}
Line 38: Line 38:
 
{{#if:{{{link7|}}}|
 
{{#if:{{{link7|}}}|
 
{{#ifeq:{{{current|}}}|{{{link7}}}
 
{{#ifeq:{{{current|}}}|{{{link7}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
 
}}
 
}}
Line 44: Line 44:
 
{{#if:{{{link8|}}}|
 
{{#if:{{{link8|}}}|
 
{{#ifeq:{{{current|}}}|{{{link8}}}
 
{{#ifeq:{{{current|}}}|{{{link8}}}
| <span style="font-weight:bold; background:#{{#switch:{{{color|green}}}|red=ffb3b3|green=c2ebd|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;
+
| <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;
 
| [[{{{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;
  +
}}
  +
}}
  +
{{#if:{{{link10|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link10}}}
  +
| <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;">{{{label10}}}</span>&nbsp;&nbsp;
  +
| [[{{{link10}}}|<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;">{{{label10}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link11|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link11}}}
  +
| <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;">{{{label11}}}</span>&nbsp;&nbsp;
  +
| [[{{{link11}}}|<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;">{{{label11}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
  +
}}
  +
}}
  +
{{#if:{{{link12|}}}|
  +
{{#ifeq:{{{current|}}}|{{{link12}}}
  +
| <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;">{{{label12}}}</span>&nbsp;&nbsp;
  +
| [[{{{link12}}}|<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;">{{{label12}}}&nbsp;&raquo;</span>]]&nbsp;&nbsp;
 
}}
 
}}
 
}}
 
}}

Latest revision as of 20:56, 13 November 2021