Module:Yesno: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
Southparkfan (talk | contribs) m (7 revisions imported: importing all languages) |
m (Protected "Module:Yesno": High-risk Lua module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
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 23: | Line 22: | ||
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 |