Module:ColorParse: Difference between revisions

Jump to navigation Jump to search
4 bytes removed ,  17:08, 25 May 2020
m
no edit summary
mNo edit summary
mNo edit summary
Line 148: Line 148:
     local args = process_args.merge(true)
     local args = process_args.merge(true)
     if args[1] and args[2] then -- shader template
     if args[1] and args[2] then -- shader template
       output = p.applytemplate(args['1'], args['2'])
       output = p.applytemplate(args[1], args[2])
     else
     else
       output = p.shader(args['text'], args['colors'], args['type'])
       output = p.shader(args['text'], args['colors'], args['type'])

Navigation menu