Module:Icon: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Testing fix for many icons on one page |
Small fix |
||
| Line 167: | Line 167: | ||
if aliases[lowerName] then | if aliases[lowerName] then | ||
local entry = iconDataCache[aliases[lowerName]] | |||
if entry then | |||
return entry, nil | |||
end | |||
end | end | ||
| Line 204: | Line 207: | ||
local name = args[1] or "" | local name = args[1] or "" | ||
local customText = args.l1 or "" | local customText = args.l1 or "" | ||
local iconType = args.type or "item" | -- type is passed via #invoke so must be read from frame.args, not parent args | ||
local iconType = frame.args.type or "item" | |||
-- Set Defaults | -- Set Defaults | ||