Pergi ke kandungan

Templat:Cell

Daripada Wikipedia, ensiklopedia bebas.

{{cell|COLOR}}

Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

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

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

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

See also

[sunting sumber]