 fork ofu800 "module yesno" implements u8da86u8d9beu8e2808cu8d8b1u8d8a7u8d8b3u8d8aa converts local oru800 abbreviated forms ofu800 "left" "right" andu800 "center" tou800 au800 value usable foru800 html attributes such asu800 "align" oru800 "float" require 'strict' local pu800 function pu800u82eleftright input default local outu800 input type input 'string' andu800 mwu800u82eustringu82elower input oru800 input ifu800 input nilu800 then outu800 nilu800 elseif input 'u8d8b1u8d8a7u8d8b3u8d8aa' oru800 input 'u8d8b1' oru800 input 'right' oru800 input 'ru800' then outu800 'right' elseif input 'u8da86u8d9be' oru800 input 'u8da86' oru800 input 'left' oru800 input 'lu800' then outu800 'left' elseif input 'u8d988u8d8b3u8d8b7' oru800 input 'u8d988' oru800 input 'center' oru800 input 'centre' oru800 input 'cu800' then outu800 'center' elseif input 'u8d8b1u8d8a7u8d8b3u8d8aau8e2808cu8d8a8u8d987u8e2808cu8da86u8d9be' oru800 input 'u8d8b1u8d8a7u8d8b3u8d8aa u8d8a8u8d987 u8da86u8d9be' oru800 input 'rtlu800' then outu800 'rtlu800' elseif input 'u8da86u8d9beu8e2808cu8d8a8u8d987u8e2808cu8d8b1u8d8a7u8d8b3u8d8aa' oru800 input 'u8da86u8d9be u8d8a8u8d987 u8d8b1u8d8a7u8d8b3u8d8aa' oru800 input 'ltru800' then outu800 'ltru800' else outu800 default endu800 return outu800 endu800 remove whitespaces from beginning andu800 endu800 ofu800 args local function valuefunc keyu800 valu800 ifu800 type valu800 'string' then valu800 mwu800u82eustringu82ematch valu800 ' su800* . su800* ' ifu800 valu800   then return nilu800 endu800 endu800 return valu800 endu800 function pu800u82emain frame local args require 'module arguments .getargs frame wrappers 'u8d8a7u8d984u8daafu8d988 u8da86u8d9beu8e2808cu8d8b1u8d8a7u8d8b3u8d8aa' valuefunc valuefunc return pu800u82eleftright args 1u800 args 2u800 oru800 args 'u8d9beu8db8cu8d8b4u8e2808cu8d981u8d8b1u8d8b6' oru800 'left' endu800 return pu800 