Module:PromotionGains

--This module is invoked by Template:

local p = {} local getArgs = require('Module:Arguments').getArgs local getColor = require('Module:Color').colorByGame local cols = { req, hp, str, mag, skl, spd, def, res, con, mov, skls, wpns }

function setDefault(arg) if(arg == nil) then arg = '' end return arg end

function p.main(frame) return p._main(getArgs(frame)) end

function p._main(args) local out, color out = '{| border="1"'.. '|-bgcolor='..color.. '!colspan="4"|Item Required'.. '!colspan="4"|Promoted Class'.. '|-align="center"'.. '|colspan="4"|'.. '!colspan="4"|'.. '|-bgcolor='..color.. '|}'   return out end

return p --