Module:InfoboxPet: Difference between revisions

no edit summary
(Created page with "require('Module:CommonFunctions') local getArgs = require('Module:Arguments').getArgs local p = {} -- Main process function p.main(frame) local args = getArgs(frame);...")
 
No edit summary
Line 6: Line 6:
function p.main(frame)
function p.main(frame)
     local args = getArgs(frame);
     local args = getArgs(frame);
    if args.color == nil then
        args.color = '{{ColorSel|Misc}}';
    end


     if args['Icon'] == nil then
     if args['Icon'] == nil then