Module:Proposal support: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
local p = {}
local p = {}
local dump = require('Module:SMW').dump


function p.proposalSupport(frame)
function p.proposalSupport(frame)
local args = frame:getParent().args
local args = frame:getParent().args
local supporters = #args
return dump(args)
--[[local supporters = #args
local list = ""
local list = ""
for i=1, #args do
for i=1, #args do
Line 9: Line 11:
end
end
local final = '<div data-sort-value="' .. supporters .. '">' .. list .. '\n</div>'
local final = '<div data-sort-value="' .. supporters .. '">' .. list .. '\n</div>'
return final
return final]]--
end
end


return p
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.