Templat:Cell
{{cell|COLOR}}
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]
Pendokumenan di atas ditransklusikan daripada Templat:Cell/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |