Module:Proposal support

From Tardis Wiki, the free Doctor Who reference
Revision as of 15:13, 3 January 2023 by Bongolium500 (talk | contribs)

Documentation for this module may be created at Module:Proposal support/doc

local p = {}

function p.proposalSupport(frame)
	local args = frame:getParent().args
	local supporters = #args
	local list = ""
	for i=1, #arg do
		list = list .. "\n* " .. arg[i]
	end
	local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>"
	return final
end

return p