Module:Vote

local a = {}

local votes = { ["background"] = { 8f8, ccc, f88, 8f8, 88f, fc8, 840,   800,    ff8, ffc },   ["foreground"] = { 080,   888,    800,    080,    008,    840,    ffc, fcc, ccc, 880,   444    },    ["symbol"] = { +,   =,    -,    ^,    *,    ~,    @,    X, ',   &,    !    },    ["name"] = { Support, Neutral, Oppose, Agree, Remind, Supplement, Comment, Objection, Not Vote, Suggestion, Warning } } function index(az,ax) i=1 while az[i] do       if az[i] == ax then return i else i=i+1 end end return 0 end function a.vote(frame) i=index(votes["symbol"],frame.args[1])and index(votes["name"],frame.arg[1]) return  votes["symbol"][i] .. " " .. votes["name"][i] .. end

return a