17 665
modifications
end
local function main_convert(frame)▼
-- Do convert, and if needed, do it again with higher default precision.
local parms = { frame = frame } -- will hold template arguments, after translation
set_config(frame.args)
local success, result = get_parms(parms,
if success then
if type(result) ~= 'table' then
end
return success and result or message(parms, result)
▲local function main_convert(frame)
end
end
return { convert = main_convert, _unit = _unit
|