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