Templat:Cell/doc

Daripada Wikipedia, ensiklopedia bebas.

The {{cell}} template can be used to create a table cell with a specified background color.

Usage[sunting sumber]

{{cell|COLOR}}

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

Examples[sunting sumber]

Code
{| width="50%" cellspacing=0
{{cell|red}}{{cell|blue}}{{cell|green}}
|}
Result
     

Note[sunting sumber]

The {{cell2}} and {{cell3}} templates can be used to condense a sequence of cells of the same color.

See also[sunting sumber]