Module:Vote

function Vote.calculation(frame) local ifor = frame.args[1] or frame.args["ifor"] local iagainst = frame.args[2] or frame.args["iagainst"] local iabstain = frame.args[3] or frame.args["iabstain"] local iactives = frame.args[4] or frame.args["iactives"] test = frame.args["test"] if test == "" then ototal = iactives - iabstain ototal2 = iactives/ototal*100 end return ototal2 end