Module:Accreditation: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
(Created page with "local p = {} writers = "" artists = "" processors = "" function p.info(frame) writers=frame.args.Writers artists=frame.args.Artists processors=frame.args.Processors...")
 
No edit summary
Line 13: Line 13:
local example = "an example string"
local example = "an example string"
for i in string.gmatch(example, "%S+") do
for i in string.gmatch(example, "%S+") do
  print(i)
  return(i)
end
end



Revision as of 17:33, 26 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 example = "an example string"
		for i in string.gmatch(example, "%S+") do
		  return(i)
		end

end

return p