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