More actions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
table.insert(w, "[[user:" .. i .. "|" .. i .. "]]") | table.insert(w, "[[user:" .. i .. "|" .. i .. "]]") | ||
for i,v in ipairs(w) do | for i,v in ipairs(w) do | ||
end | |||
return(v) | |||
end | end | ||
Revision as of 03:53, 2 September 2015
Documentation for this module may be created at Module:Accreditation/doc
local p = {}
writers = ""
artists = ""
processors = ""
function p.info(frame)
writers=frame.args.Writers
artists=frame.args.Artists
processors=frame.args.Processors
local w = {}
local num = 0
for i in string.match(writers, "%S+") do
table.insert(w, "[[user:" .. i .. "|" .. i .. "]]")
for i,v in ipairs(w) do
end
return(v)
end
end
return p
-- Arrays: http://www.lua.org/pil/11.1.html
-- Split/Join: http://lua-users.org/wiki/SplitJoin
-- For loops: http://www.lua.org/pil/4.3.4.html