Difference between revisions of "Template:Cell2/doc"
Jump to navigation
Jump to search
imported>Plastikspork (→See also: add) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
The {{tl|cell2}} template can be used to create two consecutive table cells with a specified background color. | The {{tl|cell2}} template can be used to create two consecutive table cells with a specified background color. | ||
Line 34: | Line 34: | ||
*{{tl|color box}} | *{{tl|color box}} | ||
*{{tl|color strip}} | *{{tl|color strip}} | ||
+ | *{{tl|scarf}} | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
− | <!-- CATEGORIES | + | <!-- CATEGORIES HERE, THANKS --> |
[[Category:Color templates]] | [[Category:Color templates]] | ||
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:30, 24 April 2020
![]() | This is a documentation subpage for Template:Cell2. It contains usage information, categories and other content that is not part of the original template page. |
The {{cell2}} template can be used to create two consecutive table cells with a specified background color.
The command {{cell2|COLOR}}
is equivalent to {{cell|COLOR}}
{{cell|COLOR}}
Contents
Usage
{{cell2|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 {{cell3}} template can be used for a sequence of three cells of the same color. For more than three cells, use {{cells}}.
See also