Template:YesNo: Difference between revisions
From Space Station 14 Wiki
(Created page with "{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }} |no |n |false |0 = {{{no|no}}} | = {{{blank|{{{no|no}}}}}} |¬ = {{{¬|}}} |yes |y |true |1 = {{{yes|yes}}} |#default = {{{def|{{{yes|yes}}}}}} }}<noinclude> {{docs|below banner= {{has alias template|Yesno}} }} Category:Templates meant for other templates <templatedata> { "params": { "1": { "label": "Input", "type"...") |
(template for use in templates) |
||
Line 13: | Line 13: | ||
}}<noinclude> | }}<noinclude> | ||
{{docs|below banner= | {{docs|below banner= | ||
{{template for use in templates}} | |||
{{has alias template|Yesno}} | {{has alias template|Yesno}} | ||
}} | }} | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 11:57, 17 August 2024
For use in other templates
This template is meant to be used within other templates and not by itself.
Has an alias
This template has an alternative name:
This template normalises an input to be a "yes"/"no" output.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Input | 1 | no description | Line | required |
Default value | 2 | Default value to use when input can't be converted to "yes"/"no", or when it is an empty string. | Line | suggested |