Module:Yesno: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (23 revisions imported from w:Module:Yesno: Attempting, per request from User:Titodutta. I'm not sure if "w" is the right source wiki (only a few options in drop-down menu)) |
(recognise "t" for true and "f" for false, per request) |
||
Line 13: | Line 13: | ||
or val == 'y' |
or val == 'y' |
||
or val == 'true' |
or val == 'true' |
||
or val == 't' |
|||
or tonumber(val) == 1 |
or tonumber(val) == 1 |
||
then |
then |
||
Line 20: | Line 21: | ||
or val == 'n' |
or val == 'n' |
||
or val == 'false' |
or val == 'false' |
||
or val == 'f' |
|||
or tonumber(val) == 0 |
or tonumber(val) == 0 |
||
then |
then |