Difference between revisions of "Template:Tab"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 5: Line 5:
 
{{Tab|background=yellow|bottom=0|width=27%|Hello}}
 
{{Tab|background=yellow|bottom=0|width=27%|Hello}}
 
{{Tab|background=white|border=0|}}
 
{{Tab|background=white|border=0|}}
{{Tab|background=blue|color=white|width=27%|bordercolor=green|bottom=1|World}}
+
{{Tab|background=blue|color=white|width=27%|borderwidth=2;bordercolor=green|bottom=1|World}}
 
{{Tab|background=white|border=0|}}
 
{{Tab|background=white|border=0|}}
 
{{Tab|background=red|color=white|bottom=1|width=27%|!!!!}}
 
{{Tab|background=red|color=white|bottom=1|width=27%|!!!!}}
Line 12: Line 12:
 
|}
 
|}
 
</noinclude>
 
</noinclude>
<includeonly>| style="padding:0.3em; background-color:{{{background|white}}}; border:{{#if: {{{border|}}} | {{{border}}} | 1px solid {{#if: {{{bordercolor|}}} | {{{bordercolor}}} | black}}}}; color: {{#if: {{{color|}}} | {{{color}}} | black}}; text-align: center; letter-spacing: 2px; word-spacing:3px; font-weight: bold; {{#if: {{{bottom|}}} | border-bottom:{{{bottom}}}px solid {{#if:{{{bottombordercolor|}}} | {{{bottombordercolor}}} | black}}; | border-bottom:1px solid {{#if:{{{bottombordercolor|}}} | {{{bottombordercolor}}} | black}};}} text-align:center;" {{#if: {{{width|}}} | width:{{{width}}} |}}} | {{{1}}}</includeonly>
+
<includeonly>| style="padding:0.3em; background-color:{{{background|white}}}; border:{{#if: {{{border|}}} | {{{border}}} | {{#if: {{{borderwidth|}}} | {{{borderwidth}}} | 1}}px solid {{#if: {{{bordercolor|}}} | {{{bordercolor}}} | black}}}}; color: {{#if: {{{color|}}} | {{{color}}} | black}}; text-align: center; letter-spacing: 2px; word-spacing:3px; font-weight: bold; {{#if: {{{bottom|}}} | border-bottom:{{{bottom}}}px solid {{#if:{{{bottombordercolor|}}} | {{{bottombordercolor}}} | black}}; | border-bottom:{{#if: {{{borderwidth|}}} | {{{borderwidth}}} | 1}}px solid {{#if:{{{bottombordercolor|}}} | {{{bottombordercolor}}} | black}};}} text-align:center;" {{#if: {{{width|}}} | width:{{{width}}} |}}} | {{{1}}}</includeonly>

Revision as of 11:35, 2 October 2014


Hello World !!!!
This is how we table table.