The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.
Template parameters[Edit template data] This template prefers inline formatting of parameters. Parameter | Description | Type | Status |
---|
Input | 1 | The value to normalize - Auto value
{{{parameter|¬}}}
| String | required |
---|
Truthy output | true | Output on a truthy value (e.g.: case‑insensitive 'yes', 'y', 'true', or '1') - Default
- 1
| String | optional |
---|
Falsy output | false | Output on a falsy value (e.g.: case‑insensitive 'no', 'n', 'false', or '0')
| String | optional |
---|
Blank output | blank | Output when the input parameter is defined but its value is empty - Default
- {{{false}}}
| String | optional |
---|
Undefined output | ¬ | Output when the input parameter is either '¬' or entirely missing (undefined) - Auto value
¬
| String | optional |
---|
Definite output | def | Output when the input value is specified but isn't any of the preceding values - Default
- {{{true}}}
| String | optional |
---|
Based on wikipedia:commons:Data:Templatedata/yesno.tab
|