Templat:Cell2/doc

Daripada Wikipedia, ensiklopedia bebas.

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]