Difference between revisions of "Template:Yes"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "✓ {{Dict|yes}}<noinclude>Uses {{Tl|Dict}}. Category:Templates</noinclude>")
 
(Update, move doc)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
✓&nbsp;{{Dict|yes}}<noinclude>Uses {{Tl|Dict}}. [[Category:Templates]]</noinclude>
+
<noinclude>
 +
{| class="wikitable"
 +
|-
 +
|</noinclude>style="background: #9f9; vertical-align: middle; text-align: center;" class="table-yes" | {{{1|{{Dict|yes}}}}}<noinclude>
 +
|}
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 10:30, 14 February 2020

Yes
Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Yes

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

More coming soon

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

See also

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