সমললৈ যাওক

Module:CSS unit

ৱিকিউৎসৰ পৰা

Documentation for this module may be created at Module:CSS unit/doc

local p = {} --p stands for package

local getArgs = require('Module:Arguments').getArgs

function p._CSS_unit(args)
	return string.sub(string.gsub(args[1] or args.source or "", "^[%d.]+", ""), 1, -1)
end

function p.CSS_unit(frame)
	return p._CSS_unit(getArgs(frame))
end

return p