Module:Proposal support

From Tardis Wiki, the free Doctor Who reference
Revision as of 18:09, 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 = '<div data-sort-value="' .. supporters .. '">' .. list .. '\n</div>'
	return final
end

return p