• 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
Add ShipGraphicKai
Line 4: Line 4:  
local ShipCardKai = false
 
local ShipCardKai = false
 
local ShipCategoriesKai = false
 
local ShipCategoriesKai = false
 +
local ShipGraphicKai = false
 
local ShipInfoKai = false
 
local ShipInfoKai = false
 
local getArgs = require('Module:GetArgs')
 
local getArgs = require('Module:GetArgs')
Line 34: Line 35:  
if not ShipCardKai then
 
if not ShipCardKai then
 
ShipCardKai = require('Module:ShipCardKai')
 
ShipCardKai = require('Module:ShipCardKai')
 +
end
 +
end
 +
 +
function ShipInfo.Graphic(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareShipGraphicKai()
 +
return ShipGraphicKai:Graphic(args)
 +
end
 +
 +
function _prepareShipGraphicKai()
 +
if not ShipGraphicKai then
 +
ShipGraphicKai = require('Module:ShipGraphicKai')
 
end
 
end
 
end
 
end
Anonymous user

Navigation menu