Jump to content

Module:Yesno: Difference between revisions

+support for on/off
imported>MacFan4000
m (1 revision imported: Basic templates)
m>MSGJ
(+support for on/off)
Line 14: Line 14:
or val == 'true'
or val == 'true'
or val == 't'
or val == 't'
or val == 'on'
or tonumber(val) == 1
or tonumber(val) == 1
then
then
Line 22: Line 23:
or val == 'false'
or val == 'false'
or val == 'f'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
or tonumber(val) == 0
then
then
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.