Module:Val

From Zoophilia Wiki
Revision as of 20:02, 7 January 2015 by meta>The Mol Man
Jump to navigationJump to search

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

local p = {}
 
local getArgs
local gaps = require('Module:Gapnum')._gaps
local makeunit = require('Module:Val/units')

function p.main(frame)
	if not getArgs then
		getArgs = require('Module:Arguments').getArgs
	end
	local args = getArgs(frame, {wrappers = 'Template:Val'})
	local n = args[1]
	local unc1,unc2 = args[2], args[3]
	local unit = args.ul or args.u
	local unit_link = args.ul ~= nil
	local per_unit = args.upl or args.up
	local per_unit_link = args.upl ~= nil
	local prefix = args.p
	local suffix = args.u
end

return p