Template:Yes-or-no: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Catherine Woodgold
(Has been tested.)
imported>Chris Day
No edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:


What this template does:
What this template does:
It takes a parameter "YES","Yes","yes","Y","y" etc. and returns "YES",
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","n" etc. it returns "NO",
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