1,124
edits
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=' |