• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Pass all args onto Formatting:format_image()
Line 62: Line 62:  
link = args.link
 
link = args.link
 
end
 
end
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()}
+
args[1] = self:get_source(ship, args)
 +
if not args.size then
 +
args.size = self._battle_card_size
 +
end
 +
if not args.caption then
 +
ship:name()
 +
end
 +
args.link = link
 +
local image = Formatting:format_image(args)
 
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
Anonymous user

Navigation menu