Changes

m
25 revisions imported
Line 5: Line 5:  
local ShipBattleCardKai = false
 
local ShipBattleCardKai = false
 
local ShipCardKai = false
 
local ShipCardKai = false
 +
local ShipCardComboKai = false
 
local ShipCategoriesKai = false
 
local ShipCategoriesKai = false
 
local ShipGraphicKai = false
 
local ShipGraphicKai = false
 
local ShipInfoKai = false
 
local ShipInfoKai = false
 +
local ShipMetaKai = false
 
local getArgs = require('Module:GetArgs')
 
local getArgs = require('Module:GetArgs')
   Line 19: Line 21:  
if not ShipInfoKai then
 
if not ShipInfoKai then
 
ShipInfoKai = require('Module:ShipInfoKai')
 
ShipInfoKai = require('Module:ShipInfoKai')
 +
end
 +
end
 +
 +
function ShipInfo.Meta(frame)
 +
local args = getArgs{frame = frame, wrappers = {"Template:ShipMetaKai"}}
 +
_prepareShipMetaKai()
 +
return ShipMetaKai:Infobox(args)
 +
end
 +
 +
function _prepareShipMetaKai()
 +
if not ShipMetaKai then
 +
ShipMetaKai = require('Module:ShipMetaKai')
 
end
 
end
 
end
 
end
Line 43: Line 57:  
if not ShipBattleCardKai then
 
if not ShipBattleCardKai then
 
ShipBattleCardKai = require('Module:ShipBattleCardKai')
 
ShipBattleCardKai = require('Module:ShipBattleCardKai')
 +
end
 +
end
 +
 +
function ShipInfo.CardCombo(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareShipCardComboKai()
 +
return ShipCardComboKai:Asset(args)
 +
end
 +
 +
function _prepareShipCardComboKai()
 +
if not ShipCardComboKai then
 +
ShipCardComboKai = require('Module:ShipCardComboKai')
 
end
 
end
 
end
 
end
Bots, gkautomate
13,304

edits