Module:Icon

From Eco - English Wiki
Revision as of 17:12, 7 December 2024 by StalEF (talk | contribs)

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

local p = {}

function p.main(param)
    local Utils = require('Module:Utils')
    local IconUtils = require('Module:IconUtils')

    local args = Utils.normaliseArgs(param)
    if args.name == nil or args.name == '' then return 'Module:IconUtils \'name\' must be specified.' end

    Icon = args.name .. '_Icon.png'
    return Icon
end

return p