NoteThis page is a
template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the
discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template in comparison tables to show an option is enabled, recommend, or similar.
Parameters
Parameter name |
Required? |
Default value |
Description
|
Anonymous parameter 1 |
No |
Yes |
Text
|
align |
No |
center |
Alignment of text in the cell
|
style |
No |
(n/a) |
Additional style settings. Don't use quotes
|
Usage
Note that this template must be used in a table cell.
See the template's testcases:
Correct
No parameter
|
Wiki code
|
{|
|-
|{{Yes}}
|}
|
Main version
|
|
Sandbox version
|
|
One unnamed parameter
|
Wiki code
|
{|
|-
|{{Yes|some text}}
|}
|
Main version
|
|
Sandbox version
|
|
Parameter: align (specifying alignment)
|
Wiki code
|
{|
|-
|{{Yes|align=right}}
|}
|
Main version
|
|
Sandbox version
|
|
Parameter: style (changing the style)
|
Wiki code
|
{|
|-
|{{Yes|style=background: white;}}
|}
|
Main version
|
|
Sandbox version
|
|
Note: Do not use quotation marks.
Incorrect
Two unnamed parameters (not supported)
|
Wiki code
|
{|
|-
|{{Yes|some text|additional text}}
|}
|
Main version
|
|
Sandbox version
|
|
See also