Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Yes

From FlightGear wiki
Jump to: navigation, 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