Module:Proposal support: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
(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")
 
No edit summary
Line 5: Line 5:
local supporters = #args
local supporters = #args
local list = ""
local list = ""
for sig in args do
for i=1, #arg do
list = list .. "\n* " .. sig
list = list .. "\n* " .. arg[i]
end
end
local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>"
local final = "<span data-sort-value=\"" .. supporters .. "\">" .. list .. "</span>"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.