Module:Yesno: Difference between revisions

1 byte removed ,  7 years ago
m
1 revision imported: mbox
m (Protected "Module:Yesno": Vandalism, high-risk module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
m (1 revision imported: mbox)
Line 9: Line 9:
if val == nil then
if val == nil then
return nil
return nil
elseif val == true  
elseif val == true
or val == 'yes'
or val == 'yes'
or val == 'y'
or val == 'y'