Template:Table cell templates

This template documentation is transcluded from Template:Table cell templates [ [ edit] ]

These templates are designed to be used in a table to make a cell with text in that cell, with an appropriately coloured background. They are commonly used in comparison tables.

For example, makes a cell with a green background; the text in the cell is taken from the template parameter and defaults to "Yes".

If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template; instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is, change that to.

Get all the table cell templates here.

Templates in this series

 * {| class="wikitable" |

! width=15% | CSS class !! Templates !! Preview 1 !! Preview 2 !! Preview 3
 * table-rh || rh | Row header || Rh | Row header || ||
 * table-yes || yes, || Yes || Alternate text ||
 * table-no || no || No || ||
 * table-yes2 || yes2 Text || Text || ||
 * table-no2 || no2 Text || Text || ||
 * table-partial || partial, Yes-No, some || Partial || Yes-no || Some
 * table-any || any || Any || ||
 * table-na || n/a || N/A || ||
 * table-unknown</tt> || dunno, unk || ? || ||
 * table-depends</tt> || depends || Depends || ||
 * table-included</tt> || included || Included || ||
 * table-dropped</tt> || dropped, terminated || Dropped || Terminated ||
 * table-beta</tt> || beta || Beta || ||
 * table-free</tt> || free || Free || ||
 * table-nonfree</tt> || nonfree US$3.14 || Nonfree US$3.14 || ||
 * unstyled || incorrect || Incorrect || ||
 * unstyled || ? || || ||
 * }
 * table-depends</tt> || depends || Depends || ||
 * table-included</tt> || included || Included || ||
 * table-dropped</tt> || dropped, terminated || Dropped || Terminated ||
 * table-beta</tt> || beta || Beta || ||
 * table-free</tt> || free || Free || ||
 * table-nonfree</tt> || nonfree US$3.14 || Nonfree US$3.14 || ||
 * unstyled || incorrect || Incorrect || ||
 * unstyled || ? || || ||
 * }
 * table-free</tt> || free || Free || ||
 * table-nonfree</tt> || nonfree US$3.14 || Nonfree US$3.14 || ||
 * unstyled || incorrect || Incorrect || ||
 * unstyled || ? || || ||
 * }
 * unstyled || ? || || ||
 * }
 * }