Module:Proposal support

From Tardis Wiki, the free Doctor Who reference
Revision as of 15:05, 3 January 2023 by Bongolium500 (talk | contribs) (Created page with "local p = {} function p.proposalSupport(frame) local args = frame:getParent().args local supporters = #args local list = "" for sig in args do list = list .. "\n* " .. sig end local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>" return final end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 sig in args do
		list = list .. "\n* " .. sig
	end
	local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>"
	return final
end

return p