Module:Icon: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) corrected l1 override |
m Added function to allow internal module icon generation |
||
| Line 114: | Line 114: | ||
local args = frame:getParent().args | local args = frame:getParent().args | ||
local name = args[1] or "" | local name = args[1] or "" | ||
return p.renderIcon(name, args) | |||
end | |||
function p.renderIcon(name, args) | |||
local lowerName = name:lower() | local lowerName = name:lower() | ||
args = args or {} | |||
if aliases[lowerName] then | if aliases[lowerName] then | ||