Difference between revisions of "Module:Yesno"

35 bytes added ,  22:33, 12 July 2019
m
1 revision imported from w:en:Module:Yesno: Page about technical change that was posted to a local wiki
meta>Vogone
m (1 revision imported from w:Module:Yesno: per RFH)
>Jdforrester (WMF)
m (1 revision imported from w:en:Module:Yesno: Page about technical change that was posted to a local wiki)
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