Template:Cell/doc

The cell template can be used to create a table cell with a specified background color.

Usage


The template takes one unnamed parameter as input, which is the background color of the table cell. The default content of each cell is a single non-breaking space with a font-size of 50%. To override the content of each cell, use a second unnamed parameter. To override the default font-size, use the  parameter.


 * Complete specification




 * Default



Example 1

 * Code


 * Result

Example 2

 * Code


 * Result

Example 3

 * Code


 * Result

Note
The cell2 and cell3 templates can be used to condense a sequence of cells of the same color.