Changes
mLine 73:
Line 73:
− +
+
try using template
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
value = ShipBattleCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
-- value = ShipBattleCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
value = "{{ShipBattleCardHD|" .. ship:name() .. "}}"
end
end
return {value = value, bg_color = bg_color, background_image = background_image or self._none, text_align = self._center_align}
return {value = value, bg_color = bg_color, background_image = background_image or self._none, text_align = self._center_align}