Module:Test

From Official Factorio Wiki
Revision as of 11:58, 1 October 2024 by Bilka (talk | contribs) (this is not ruby)
Jump to navigation Jump to search

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

local p = {}
function p.main(frame)
  local args = frame.args
  return args[1]..args["sep"]..args[2]
end

function p.icontech(frame)
  frame.args.color = frame.args.color or "228B22"
  return frame:expandTemplate{title = 'Icon', args = frame.args}
end

return p