コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Cell3/doc

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


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

[編集]