Template:Table cell templates

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.

Templates in this series

 * {| class="wikitable" |

! width=15% | CSS class !! Templates !! Preview 1 !! Preview 2 !! Preview 3
 * table-rh ||,   || Rh | Row header || Rh2 | Row header ||
 * table-yes ||,   || Yes || Alternate text ||
 * table-no ||,   || No || Alternate Text ||
 * table-no ||  || Black || ||
 * table-yes2 ||,  ,   ||  Text || Won || 5
 * table-no2 ||,  ,   ||  Text ||Nominated || 5
 * table-partial ||,  ,   || Partial || Yes-no || Some
 * table-any ||  || Any || ||
 * table-na</tt> ||  || N/A || ||
 * table-unknown</tt> ||,   || ? ||  ||
 * table-depends</tt> ||  || Depends || ||
 * table-included</tt> ||  || Included || ||
 * table-dropped</tt> ||,   || Dropped || Terminated ||
 * table-beta</tt> ||,   || Beta || Table-experimental ||
 * table-free</tt> ||  || Free || ||
 * table-nonfree</tt> ||  || Nonfree Text || ||
 * table-needs</tt> ||,   || Needs || Alternate text ||
 * unstyled ||  || Incorrect || ||
 * unstyled || {,  || No result || N.R. ||
 * unstyled ||,   ||  ||  ||
 * unstyled ||  ||  || ||
 * }
 * table-included</tt> ||  || Included || ||
 * table-dropped</tt> ||,   || Dropped || Terminated ||
 * table-beta</tt> ||,   || Beta || Table-experimental ||
 * table-free</tt> ||  || Free || ||
 * table-nonfree</tt> ||  || Nonfree Text || ||
 * table-needs</tt> ||,   || Needs || Alternate text ||
 * unstyled ||  || Incorrect || ||
 * unstyled || {,  || No result || N.R. ||
 * unstyled ||,   ||  ||  ||
 * unstyled ||  ||  || ||
 * }
 * table-needs</tt> ||,   || Needs || Alternate text ||
 * unstyled ||  || Incorrect || ||
 * unstyled || {,  || No result || N.R. ||
 * unstyled ||,   ||  ||  ||
 * unstyled ||  ||  || ||
 * }
 * unstyled ||,   ||  ||  ||
 * unstyled ||  ||  || ||
 * }
 * }