Template:Yes-or-no

From Citizendium
Revision as of 13:36, 19 May 2007 by imported>Stephen Ewen (Protected "Template:Yes-or-no": Makes sense to protect this [edit=sysop:move=sysop])
Jump to navigation Jump to search


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","y" etc. and returns "YES", or if the value of the input parameter is "NO","No","no","N","n" etc. it returns "NO", if the input parameter is something else it returns "UNKNOWN".


UNKNOWN