Changes

Module:Yesno

35 bytes added, 6 years ago
+support for on/off
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
Anonymous user