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".

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-partial2 || partial2 Text || Text || ||
 * table-but-yes || but yes || || ||
 * table-but-no</tt> || but no || || ||
 * table-na</tt> || 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 || Nonfree || ||
 * unstyled || ? || || ||
 * }
 * table-na</tt> || 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 || ||
 * <tt>table-nonfree</tt> || nonfree || Nonfree || ||
 * unstyled || ? || || ||
 * }
 * <tt>table-beta</tt> || beta || Beta || ||
 * <tt>table-free</tt> || free || Free || ||
 * <tt>table-nonfree</tt> || nonfree || Nonfree || ||
 * unstyled || ? || || ||
 * }
 * unstyled || ? || || ||
 * }
 * }