Templat:Cell2/doc
Penampilan
![]() | Ini ialah sublaman pendokumenan untuk Templat:Cell2. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
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
[sunting sumber]{{cell2|COLOR}}
Ttemplat ini mengambila satu parameter tak bernama sebagai input, yang mana adalah warna latarbelakang sel jadual.
Contoh
[sunting sumber]- Code
{| width="50%" cellspacing=0 {{cell|red}}{{cell2|blue}}{{cell3|green}} |}
- Result
Notakaki
[sunting sumber]The {{cell3}} template can be used for a sequence of three cells of the same color. For more than three cells, use {{cells}}.
Lihat juga
[sunting sumber]