- 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 7:
Line 7:
− +
− local ship = self:create_ship(args)
Line 14:
Line 13:
+
+
+
+
+
+
+
+
+
no edit summary
}
}
function ShipCardKai:Card(args)
function ShipCardKai:_card(ship, args)
return Formatting:format_image{ship:card(), size = args.size or self._card_size, link = args.link, caption = args.caption}
return Formatting:format_image{ship:card(), size = args.size or self._card_size, link = args.link, caption = args.caption}
end
end
function ShipCardKai:Card(args)
function ShipCardKai:Card(args)
local ship = self:create_ship(args)
local ship = self:create_ship(args)
return self:_card(ship, args)
end
function ShipCardKai:_battle_card(ship, args)
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = args.link, caption = args.caption}
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = args.link, caption = args.caption}
end
function ShipCardKai:BattleCard(args)
local ship = self:create_ship(args)
return self:_battle_card(ship, args)
end
end