Difference between revisions of "Template:Tab"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>
 
__NOTOC__ __NOEDITSECTION__
 
__NOTOC__ __NOEDITSECTION__
{| width=100%
+
{| width=100% cellspacing=0
 
|-
 
|-
{{Tab|background=yellow|border-bottom=0|width=27%|Hello}}
+
{{Tab|background=yellow|bottom=0|width=32%|Hello}}
{{Tab|background=white|border=0|width=2%|}}
+
{{Tab|background=white|border=0|}}
{{Tab|background=blue|border-bottom=1|width=27%|World}}
+
{{Tab|background=blue|color=white|width=32%|borderwidth=2|bordercolor=green|bottom=1|World}}
{{Tab|background=white|border=0|width=2%|}}
+
{{Tab|background=white|border=0|}}
{{Tab|background=red|border-bottom=1|width=27%|!!!!}}
+
{{Tab|background=red|color=white|bottom=1|width=32%|borderwidth=3|bordercolor=yellow|bottombordercolor=orange|bottom=6|!!!!}}
 +
|-
 +
| colspan=5 style="background:yellow; border:1px solid black; border-top:0; padding:0.3em" | This is how we table table.
 
|}
 
|}
<onlyinclude>| style="padding:0 .3em; background-color:{{{background|white}}}; border:{{border|1px solid black}}; color: black; padding: .1em; text-align: center; letter-spacing: 2px; word-spacing:3px; font-weight: bold; border-bottom: {{{border-bottom|0}}}; text-align:center;" width={{{width|49%}}} | {{{1}}}</onlyinclude>
+
</noinclude>
 +
<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>

Latest revision as of 13:44, 2 October 2014


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