Tech, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators
12,495
edits
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) 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 |
edits