Template:Yes-or-no: Difference between revisions
Jump to navigation
Jump to search
imported>Catherine Woodgold (adding "yes" and "no" (lowercase) option) |
imported>Chris Day No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
The purpose of this template is to allow the source code of Template:checklist | The purpose of this template is to allow the source code of Template:checklist | ||
Line 6: | Line 5: | ||
What this template does: | What this template does: | ||
It takes a parameter "YES","Yes","yes","Y" | It takes a parameter "YES","Yes","yes","Y" or "y" and returns "YES", | ||
or if the value of the input parameter is "NO","No","no","N" | or if the value of the input parameter is "NO","No","no","N" and "n" it returns "NO", | ||
if the input parameter is something else it returns "UNKNOWN". | if the input parameter is something else it returns "UNKNOWN". | ||
</noinclude> | </noinclude> |
Latest revision as of 12:37, 8 September 2007
The purpose of this template is to allow the source code of Template:checklist
to be simplified. (It may also be useful in other, future templates.)
What this template does: It takes a parameter "YES","Yes","yes","Y" or "y" and returns "YES", or if the value of the input parameter is "NO","No","no","N" and "n" it returns "NO", if the input parameter is something else it returns "UNKNOWN".
UNKNOWN