Help:Table cell templates
From QED
Table Cell Templates
"Table cell templates" are designed to be used in a table to make a cell with an appropriately colored background.
For example, Template:Yes may be used as follows:
{|
|-
| {{Yes|positive}}
|}
produces:
| positive |
The text in the "Yes" cell defaults to "Yes" but in this example was specified as "positive".
Templates in this series
In all cases except for rh and nonfree, the text to be displayed may be specified as illustrated above.
CSS class Usage Result 1 Result 2 Result 3 table-rh {{rh}} | Row header Row header table-yes {{yes}} Yes table-no {{no}} No table-partial {{partial}} Partial table-any {{any}} any table-na {{n/a}} N/A table-unknown {{dunno}}, {{dunno|Alternative text}}, {{unk}} ? Alternative text Unknown table-included {{included}} Included table-dropped {{dropped}} Dropped table-beta {{beta}} Beta table-free {{free}} Free table-nonfree {{nonfree}} US$3.14 US$3.14 unstyled {{incorrect}} Incorrect unstyled {{?}}, {{?|Alternative text}} ? Alternative text












