- 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
Line 28:
Line 28:
− local image = Formatting:format_image{args.damaged and ship:card_damaged() or ship:card(), size = args.size or self._card_size, link = link, caption = args.caption} +
+
+
+
+
+
+
+
+
+
Pass all args onto Formatting:format_image()
link = args.link
link = args.link
end
end
if args.damaged then
args[1] = ship:card_damaged()
else
args[1] = ship:card()
end
if not args.size then
args.size = self._card_size
end
args.link = link
local image = Formatting:format_image(args)
if args.layers or args.grayscale then
if args.layers or args.grayscale then
local stack = self:_create_stack(image, args.grayscale)
local stack = self:_create_stack(image, args.grayscale)