More actions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
local num = 0 | local num = 0 | ||
for i in string.gmatch(writers, "%S+") do | for i in string.gmatch(writers, "%S+") do | ||
w["num"]= "[[user:" .. i .. "|" .. i .. "]]" | w["num"]= i..asdf --"[[user:" .. i .. "|" .. i .. "]]" | ||
num = num + 1 | num = num + 1 | ||
return(w["num"]) | return(w["num"]) |
Revision as of 05:14, 30 December 2015
Documentation for this module may be created at Module:Test/2/doc
local p = {}
names = ""
function p.info(frame)
names=frame.args.names
local w = {}
local num = 0
for i in string.gmatch(writers, "%S+") do
w["num"]= i..asdf --"[[user:" .. i .. "|" .. i .. "]]"
num = num + 1
return(w["num"])
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