Difference between revisions of "Template:Cell3"
Jump to navigation
Jump to search
imported>Plastikspork (documentation) |
imported>Plastikspork (+ style) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{1|}}}|{{cell|{{{1}}}}}{{cell|{{{1}}}}}{{cell|{{{1}}}}}| | + | {{#if:{{{1|}}}|{{cell|{{{1}}}|style={{{style|}}}}}{{cell|{{{1}}}|style={{{style|}}}}}{{cell|{{{1}}}|style={{{style|}}}}}| |
<code><nowiki>{{cell3|</nowiki>''COLOR''<nowiki>}}</nowiki></code>}}<noinclude> | <code><nowiki>{{cell3|</nowiki>''COLOR''<nowiki>}}</nowiki></code>}}<noinclude> | ||
− | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:07, 2 April 2010
{{cell3|COLOR}}
The {{cell3}} template can be used to create three consecutive table cells with a specified background color.
The command {{cell3|COLOR}}
is equivalent to {{cell|COLOR}}
{{cell|COLOR}}
{{cell|COLOR}}
Contents
Usage
{{cell3|COLOR}}
The template takes one unnamed parameter as input, which is the background color of the table cells.
Examples
- Code
{| width="50%" cellspacing=0 {{cell|red}}{{cell2|blue}}{{cell3|green}} |}
- Result
Note
The {{cell2}} template can be used for a sequence of two cells of the same color. For more than three cells, use {{cells}}.
See also
The above documentation is transcluded from Template:Cell3/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |