local p = {}
local getArgs = require('Module:Arguments').getArgs
function p.outdent (frame)
local args = getArgs(frame)
local width = 0
local reversed = args['reverse'] or args['indent'] or args['r'] or args['in']
if not args[1] then args[1] = '' end
width = width + select(2, string.gsub(args[1],':',''))
width = width + select(2, string.gsub(args[1],'*',''))
width = width + select(2, string.gsub(args[1],'#','')) * 2
if width == 0 then width = tonumber(args[1]) end
if not width then width = 10 end
if width < 0
then
width = -width
reversed = not reversed
end