Template:Yes
Jump to navigation
Jump to search
Yes |
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be used to highlight a "Yes" in a table.
Usage
{{yes|alternative text|attributes}}
Both parameters are optional.
- alternative text
- Alternative text to show instead of the default Yes.
- attributes
- XHTML attributes. Note that an equal sign = will break the template and {{=}} will have to be used. For example rowspan{{=}}"3".
Examples
{| class="wikitable" ! Template !! Can be used in tables |- | {{tl|yes}} || {{yes}} |- | {{tl|yes}} || {{yes|Yes, again}} |}
Template | Can be used in tables |
---|---|
{{yes}} | Yes |
{{yes}} | Yes, again |
Using additional xhtml attributes
{| class="wikitable" ! Template !! Can be used in tables |- | {{tl|yes}} || {{yes||rowspan{{=}}"3"}} |- | {{tl|no}} |}
Template | Can be used in tables |
---|---|
{{yes}} | Yes |
{{no}} | |
{{n/a}} |
Related templates