Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
This is the documentation page. It should be transcluded into Template:Yesno. See Template:Documentation for more information.

Usage

This template is used to make other templates by turning an input into either "Yes" or no text. The first (and only) parameter is the input, and if the input is "1", "t", "true", "yes", "y", or "on", the template will output "yes". If the input is "no", "n", "0", "off", "f", or "false", the template will output no text, and as such {{#if:{{Yesno|{{{1}}}}}|(true output)|(false output)}} will display the true output if the {{{1}}} parameter is set to any of the six true values, and will display the false output if the parameter is set to any of the six false values. This can also be done with {{Yesno|{{{1|}}}|yes=(true output)|no=(false output)}}.


Contents