Module:Proposal support

From Tardis Wiki, the free Doctor Who reference
Revision as of 15:14, 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, #args do
		list = list .. "\n* " .. args[i]
	end
	local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>"
	return final
end

return p