Module:Proposal support

local p = {}

function p.proposalSupport(frame) local args = frame:getParent.args local supporters = 0 local list = "" for _, sig in ipairs(args) do		if sig ~= "" and sig ~= " " and not list:find(sig, 1, true) then list = list .. "\n* " .. sig:gsub("\n", "") supporters = supporters + 1 end end local s = "s" if supporters == 1 then s = "" end local final = ' ' .. supporters .. ' supporter' .. s .. list .. '\n ' return final end

return p