Template:Boolean
From Kerbal Space Program Wiki
This helper template will display {{Yes}} if its input is y
, yes
, t
, true
or 1
.
Will display {{No}} if its input is n
, no
, f
, false
or 0
.
If none of the inputs above match, will display the provided input. If you provide a second parameter, that works as default value, will display that.
Name | Optional | Description | Default |
---|---|---|---|
1 | No | The boolean value. | |
2 | Yes | The default value to display if {{{1}}} doesn't match any boolean value. | {{{1}}} |