Changes

add entry point for EnemyShipInfoKai
Line 1: Line 1:  
local ShipInfo = {}
 
local ShipInfo = {}
    +
local EnemyShipInfoKai = false
 
local ShipCardKai = false
 
local ShipCardKai = false
 
local ShipInfoKai = false
 
local ShipInfoKai = false
Line 32: Line 33:  
if not ShipCardKai then
 
if not ShipCardKai then
 
ShipCardKai = require('Module:ShipCardKai')
 
ShipCardKai = require('Module:ShipCardKai')
 +
end
 +
end
 +
 +
function ShipInfo.EnemyInfobox(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareEnemyShipInfoKai()
 +
return EnemyShipInfoKai:Infobox(args)
 +
end
 +
 +
function _prepareEnemyShipInfoKai()
 +
if not EnemyShipInfoKai then
 +
EnemyShipInfoKai = require('Module:EnemyShipInfoKai')
 
end
 
end
 
end
 
end
    
return ShipInfo
 
return ShipInfo
Anonymous user