Module:Abilities/icon: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) fixed icon size override and added icon_size variable for getScalarIconFile |
Gammaton32 (talk | contribs) 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 | ||