Module:NIA

local p = {}

p.items = function( f ) local args = f.args or f       if f == mw.getCurrentFrame and args[1] == nil then args = f:getParent.args else f = mw.getCurrentFrame end local text = "" for item in mw.text.gsplit(args.icons or args[1], '%s*,%s*') do               text = text .. f:callParserFunction('#icon', {item = item, size = 16, mod = args.mod}) end return text end

return p