Module:Icon

-- local Icon = {} local getArgs = require('Dev:Arguments').getArgs local data = mw.loadData("Module:Icon/data")

function Icon.main(frame) -- Implements local args = getArgs(frame) local icon = '' if (args['icon'] or args[1]) then icon = (args['icon'] or args[1]) icon = string.lower(icon) --local result = data[icon]:gsub("|", "|alt=") --return string.format('') return string.format('') end end return Icon