Module:Abilities/card: Difference between revisions

m Round header scaling to 3 sf
m added function to just get attr icon
Line 368: Line 368:
return description
return description
end
p.get_attr_icon = function(frame)
local attr_type = frame.args[0]
local icon = get_icon(attr_type)
return string.format([[File:{{{%s}}}|{{{%s|18px}}}|link={{{%s}}}]], icon.img, icon.size, icon.link)
end
end