Module:MaxValue

local p = {}

function p.findMax(frame) local Elegant = frame.args["E"] or frame.args[1] local Fresh = frame.args["F"] or frame.args[2] local Sweet = frame.args["Sw"] or frame.args[3] local Sexy = frame.args["Se"] or frame.args[4] local Cool = frame.args["C"] or frame.args[5] local max = math.max(Elegant, Fresh, Sweet, Sexy, Cool) return max end return p