local image = Formatting:format_image{self:get_source(ship, args), size = args.size or self._battle_card_size, link = link, caption = args.caption or ship:name()}
+
local image = Formatting:format_image{self:get_source(ship, args), size = args.size or self._battle_card_size, link = link, caption = args.caption or (ship:name() or "") .. (ship:api_id() and " (" .. ship:api_id() .. ")" or "")}
local ship_layers = ship:battle_card_layers()
local ship_layers = ship:battle_card_layers()
if ship_layers or args.flagship or args.layers or args.grayscale then
if ship_layers or args.flagship or args.layers or args.grayscale then