قالب:Cells
{{cells|n|COLOR}}
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|اللون}}
{{cell|اللون}}
{{cell|اللون}}
{{cell|اللون}}
Usage
{{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
- Code
{| width="50%" cellspacing=0 {{cell|red}}{{cells|4|blue}}{{cell|green}} |}
- Result
Note
The {{cell2}} and {{cell3}} templates can be used for a sequence of two or three cells of the same color.
See also
The above documentation is transcluded from قالب:Cells/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |