Difference between revisions of "Template:Tab bar"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 1: Line 1:
{| class="plainlinks" style="width:{{{width|auto}}}; float:right;"
+
{| class="plainlinks nowrap" style="width:{{{width|auto}}}; float:right;"
 
|- class="tabbar-red"
 
|- class="tabbar-red"
 
! style="width:8px; background:#990000;" |
 
! style="width:8px; background:#990000;" |
| style="padding:5px 5px 5px 10px;" | [[{{{link1}}}|{{{label1}}}]]
+
| style="padding:5px 10px 5px 10px;" | '''[[{{{link1}}}|{{{label1}}}]]'''
|- class="tabbar-green"
+
|- class="tabbar-green"
  +
{{#if:{{{link2|}}}|
! style="width:8px; background:#339966;" |
 
| style="padding:5px 5px 5px 10px;" | [[{{{link2}}}|{{{label2}}}]]
+
! style="width:8px; background:#339966;" {{!}}
  +
{{!}} style="padding:5px 10px 5px 10px;" {{!}} '''[[{{{link2}}}|{{{label2}}}]]'''
  +
}}
 
|- class="tabbar-blue"
 
|- class="tabbar-blue"
  +
{{#if:{{{link3|}}}|
! style="width:8px; background:#A7D7F9;" |
 
| style="padding:5px 5px 5px 10px;" | [[{{{link3}}}|{{{label3}}}]]
+
! style="width:8px; background:#A7D7F9;" {{!}}
  +
{{!}} style="padding:5px 10px 5px 10px;" {{!}} '''[[{{{link3}}}|{{{label3}}}]]'''
  +
}}
 
|- class="tabbar-gray"
 
|- class="tabbar-gray"
  +
{{#if:{{{link3|}}}|
! style="width:8px; background:#666666;" |
 
| style="padding:5px 5px 5px 10px;" | [[{{{link4}}}|{{{label4}}}]]
+
! style="width:8px; background:#666666;" {{!}}
  +
{{!}} style="padding:5px 10px 5px 10px;" {{!}} '''[[{{{link4}}}|{{{label4}}}]]'''
  +
}}
 
|}<noinclude>[[Category:Visual identity templates]]</noinclude>
 
|}<noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 19:40, 23 February 2013