Module:Abilities-test/card: Difference between revisions

m Add status effect box
Make default icon no icon
Line 492: Line 492:
function get_icon(attr_type)
function get_icon(attr_type)
local mappedAttr = ATTR_TYPE_ICON_MAP[attr_type]
local mappedAttr = ATTR_TYPE_ICON_MAP[attr_type]
local img = 'GenericProperty.png'
local img = ''
local link = ''
local link = ''
local size = ''
local size = ''
Line 501: Line 501:
size = mappedAttr.size
size = mappedAttr.size
color = mappedAttr.color or color
color = mappedAttr.color or color
end
end
return {img=img, link=link, color=color, size=size}
return {img=img, link=link, color=color, size=size}