330
edits
meta>Peteforsyth 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)) |
m (44 revisions imported) |
||
(17 intermediate revisions by 15 users not shown) | |||
Line 13: | Line 13: | ||
or val == 'y' | or val == 'y' | ||
or val == 'true' | or val == 'true' | ||
or val == 't' | |||
or val == 'on' | |||
or tonumber(val) == 1 | or tonumber(val) == 1 | ||
then | then | ||
Line 20: | Line 22: | ||
or val == 'n' | or val == 'n' | ||
or val == 'false' | or val == 'false' | ||
or val == 'f' | |||
or val == 'off' | |||
or tonumber(val) == 0 | or tonumber(val) == 0 | ||
then | then |