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
local w = split(writers, "%S+")
for i in string.gmatch(writers, "%S+", 5) do
return w
  return(i)
end
--return(writers)
-- for i in string.gmatch(writers, "%S+") do
--   return(i)
-- end
end
end

Revision as of 03:12, 29 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
	
		for i in string.gmatch(writers, "%S+", 5) 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