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

Module:Accreditation: Difference between revisions

From MassiveCraft Wiki
No edit summary
No edit summary
Line 11: Line 11:
processors=frame.args.Processors
processors=frame.args.Processors
w = split(writers, "%S+")
local w = split(writers, "%S+")
return w
return w

Revision as of 20:33, 27 August 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 = split(writers, "%S+")
	return w
	
	--return(writers)
	--	for i in string.gmatch(writers, "%S+") do
	--	  return(i)
	--	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