Template:Yes-or-no: Difference between revisions
Jump to navigation
Jump to search
imported>Stephen Ewen m (Protected "Template:Yes-or-no": Makes sense to protect this [edit=sysop:move=sysop]) |
imported>Chris Day No edit summary |
||
Line 5: | 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