Module:Abilities/icon: Difference between revisions

fixed icon size override and added icon_size variable for getScalarIconFile
default icon size
Line 41: Line 41:
end
end


return string.format('[[File:%s|%s|link=%s]]', icon.img or '', icon.size or '', icon.link or '')
return string.format('[[File:%s|%s|link=%s]]', icon.img or '', icon.size or '18px', icon.link or '')
end
end