Bản mẫu:Cells/doc
Đây là một trang con tài liệu dành cho Bản mẫu:Cells. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
The {{cells}} template can be used to create up to 20 consecutive table cells with a specified background color.
The command {{cells|4|COLOR}}
is equivalent to {{cell|COLOR}}
{{cell|COLOR}}
{{cell|COLOR}}
{{cell|COLOR}}
Usage
sửa{{cells|n|COLOR}}
The template takes two unnamed parameters as input
- n is the number of consecutive table cells
- COLOR is the background color
Examples
sửa- Code
{{scarf|width=30em|{{cell|red}}{{cells|4|blue}}{{cell|green}}}}
- Result
Note
sửaThe {{cell2}} and {{cell3}} templates can be used for a sequence of two or three cells of the same color.
See also
sửa