Difference between revisions of "Module:Icon"

Jump to navigation Jump to search
28 bytes added ,  16:23, 23 October 2021
no edit summary
Line 19: Line 19:
resource = trim(resource)
resource = trim(resource)
mw.log(resource)
mw.log(resource)
mw.log(iconList[resource])
if iconList[string.lower(resource)] ~= nil then
if iconList[string.lower(resource)] ~= nil then
result = '[[file:' .. iconList[resource]['file'] .. '|16px|link='
result = '[[file:' .. iconList[resource]['file'] .. '|16px|link='

Navigation menu