Template:Yes/doc

From Kerbal Space Program Wiki
< Template:Yes
Revision as of 11:01, 14 February 2020 by ArnePeirs (talk | contribs) (Add doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

The templates in this series are designed to be used in a table to make a cell with text in that cell, with an appropriately colored background.

For example, {{yes}} makes a cell with a green background. The text in the cell is taken from the first parameter; {{yes|Sure}} would output "Sure" otherwise it defaults to "Yes".

Templates

Table cell templates
Class[1] Default syntax Preview (default) Customized syntax Preview (customized)
table-yes {{yes}} Yes {{yes|Customized [[Plain text|text]]}} Customized text
table-no {{no}} No {{no|Customized [[Plain text|text]]}} Customized text

See also

See w:en:Template:Table_cell_templates/doc for more information and other templates.

  1. The HTML class of table cell templates may be referenced in a user stylesheet to change appearance.