Difference between revisions of "Module:Icon"

Jump to navigation Jump to search
2 bytes added ,  13:54, 23 December 2021
no edit summary
Line 6: Line 6:
local function _requirements(resource, value, link, text)
local function _requirements(resource, value, link, text)
resource = string.lower(com.trim(resource))
resource = string.lower(com.trim(resource))
mw.log('Requirements ' .. resource .. ' ' .. value)
resource = iconList[resource]
resource = iconList[resource]
mw.log('Requirements ' .. resource .. ' ' .. value)
if resource ~= nil then
if resource ~= nil then
-- Init link here, will be nil if resource is nil
-- Init link here, will be nil if resource is nil

Navigation menu