Module:Rlist: Difference between revisions

Rebecca (talk | contribs)
No edit summary
Rebecca (talk | contribs)
No edit summary
Line 4: Line 4:
local xs = {}
local xs = {}
for t in ipairs(frame:getParent().args) do
for t in ipairs(frame:getParent().args) do
table.insert(xs, et('userlist', {t}))
table.insert(xs, et('userlink', {t}))
end  
end  
return et('hlist', xs)
return et('hlist', xs)
end
end
return p
return p

Revision as of 19:16, 20 October 2025

Documentation for this module may be created at Module:Rlist/doc

local p = {}
function p.userlist(frame)
	local function et(n,a) return frame:expandTemplate{title=n,args=a} end
	local xs = {}
	for t in ipairs(frame:getParent().args) do
		table.insert(xs, et('userlink', {t}))
	end 
	return et('hlist', xs)
end
return p