Документация
local p = {}
function p.lg(frame)
    return math.log10(tonumber(frame.args[1]))
end
return p