Module:Bn2As
Documentation for this module may be created at Module:Bn2As/doc
local bn_letter_ro = {
['র'] = 'ৰ',
['রা'] = 'ৰা',
['রি'] = 'ৰি',
['রী'] = 'ৰী',
['রু'] = 'ৰু',
['রূ'] = 'ৰূ',
['রৃ'] = 'ৰৃ',
['রে'] = 'ৰে',
['রৈ'] = 'ৰৈ',
['রো'] = 'ৰো',
['রৌ'] = 'ৰৌ',
['র্'] = 'ৰ্',
['্র'] = '্ৰ',
}
local function _main(input)
-- Callable from another module.
input = input or ''
return (input:gsub('%a+', bn_letter_ro))
end
local function main(frame)
-- Callable from #invoke or from a template.
return _main(frame.args[1] or frame:getParent().args[1])
end
return { main = main, _main = _main }