Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Accreditation

From MassiveCraft Wiki
Revision as of 08:31, 29 December 2015 by Ryciera (talk | contribs)

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

local p = {}

writers = ""
artists = ""
processors = ""

function p.info(frame)
	
	writers=frame.args.input
	
	local w = {}
	local num = 0
		for i in string.gmatch(writers, "%S+") do
			table.insert(w, "[[user:" .. i .. "|" .. i .. "]]")
		--*for i,v in pairs(w) do
		--		return(v)
		--	end
			return(w[1])
		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