Data:Templatedata/yesno.tab
Jump to navigation
Jump to search
Normalizes boolean template arguments.
name | type | required | default | autovalue | label | description |
---|---|---|---|---|---|---|
string | string | boolean | string | string | localized | localized |
name | type | required | default | autovalue | label | description |
1 | string | ☑ | {{{parameter|¬}}} | Input(1) | The value to normalize(1) | |
yes | string | ☐ | yes | Truthy output(1) | Output on a truthy value (e.g.: case‑insensitive 'yes', 'y', 'true', or '1')(1) | |
no | string | ☐ | Falsy output(1) | Output on a falsy value (e.g.: case‑insensitive 'no', 'n', 'false', or '0')(1) | ||
blank | string | ☐ | {{{no}}} | Blank output(1) | Output when the input parameter is defined but its value is empty(1) | |
¬ | string | ☐ | ¬ | Undefined output(1) | Output when the input parameter is either '¬' or entirely missing (undefined)(1) | |
def | string | ☐ | {{{yes}}} | Definite output(1) | Output when the input value is specified but isn't any of the preceding values(1) |
TemplateData for Template:Yesno (Q6887402)
Data available under Creative Commons Zero.