Changes

no edit summary
Line 1: Line 1:  
local EquipmentCardKai = false
 
local EquipmentCardKai = false
 +
local EquipmentCategoriesKai = false
 
local EquipmentGraphicKai = false
 
local EquipmentGraphicKai = false
 
local EquipmentInfoKai = false
 
local EquipmentInfoKai = false
Line 40: Line 41:  
if not EquipmentGraphicKai then
 
if not EquipmentGraphicKai then
 
EquipmentGraphicKai = require('Module:EquipmentGraphicKai')
 
EquipmentGraphicKai = require('Module:EquipmentGraphicKai')
 +
end
 +
end
 +
 +
function EquipmentInfo.Graphic(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
_prepareEquipmentCategoriesKai()
 +
return EquipmentCategoriesKai:Categories(args)
 +
end
 +
 +
function _prepareEquipmentCategoriesKai()
 +
if not EquipmentCategoriesKai then
 +
EquipmentCategoriesKai = require('Module:EquipmentCategoriesKai')
 
end
 
end
 
end
 
end
Anonymous user