Difference between revisions of "Module:Yesno"

Jump to navigation Jump to search
35 bytes added ,  12:14, 28 February 2018
+support for on/off
meta>Matiia
m (Reverted changes by Jose8a (talk) to last version by Pharos)
>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

Navigation menu