Module:ShipLinkKai

local Formatting = require('Module:Formatting') local ShipCardKai = require('Module:ShipCardKai') local StringOperations = require("Module:StringOperations")

local format = StringOperations.format local split = StringOperations.split

local ShipLinkKai = ShipCardKai{ _template = ${link} ${card} }

function ShipLinkKai:get(ship, args, link) if not args then args = ship ship = args.ship link = args.link end mw.log(link) return format{self._template, link = Formatting:format_link(link), card = ShipCardKai:get(ship, args)} end

return ShipLinkKai