• 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
Undo revision 466953 by Ckwng (talk)
Line 2: Line 2:     
local EnemyShipInfoKai = false
 
local EnemyShipInfoKai = false
 +
local ShipBattleCardKai = false
 
local ShipCardKai = false
 
local ShipCardKai = false
 
local ShipCategoriesKai = false
 
local ShipCategoriesKai = false
Line 24: Line 25:  
_prepareShipCardKai()
 
_prepareShipCardKai()
 
return ShipCardKai:Card(args)
 
return ShipCardKai:Card(args)
 +
end
 +
 +
function _prepareShipCardKai()
 +
if not ShipCardKai then
 +
ShipCardKai = require('Module:ShipCardKai')
 +
end
 
end
 
end
    
function ShipInfo.BattleCard(frame)
 
function ShipInfo.BattleCard(frame)
 
local args = getArgs{frame = frame:getParent()}
 
local args = getArgs{frame = frame:getParent()}
_prepareShipCardKai()
+
_prepareShipBattleCardKai()
return ShipCardKai:BattleCard(args)
+
return ShipBattleCardKai:Asset(args)
 
end
 
end
   −
function _prepareShipCardKai()
+
function _prepareShipBattleCardKai()
if not ShipCardKai then
+
if not ShipBattleCardKai then
ShipCardKai = require('Module:ShipCardKai')
+
ShipBattleCardKai = require('Module:ShipBattleCardKai')
 
end
 
end
 
end
 
end
Anonymous user

Navigation menu