Jump to content

Template:Cell2/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by WOSlinker (talk | contribs) at 20:58, 2 June 2023 (syntaxhighlight lang="wikitext"). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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}}


Usage

[edit]

{{cell2|COLOR}}

The template takes one unnamed parameter as input, which is the background color of the table cells.

Examples

[edit]
Code
{| width="50%" cellspacing=0
{{cell|red}}{{cell2|blue}}{{cell3|green}}
|}
Result

Note

[edit]

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

[edit]