Changes

Convert into invokable entry point
Line 1: Line 1:  
local ShipInfo = {}
 
local ShipInfo = {}
 
local ShipInfoKai = require('Module:ShipInfoKai')
 
local ShipInfoKai = require('Module:ShipInfoKai')
 +
local getArgs = require('Module:GetArgs')
   −
function ShipInfo.Infobox(name, model)
+
function ShipInfo.Infobox(frame)
return ShipInfoKai:Infobox(name, model)
+
return ShipInfoKai:Infobox(unpack(getArgs(frame)))
 
end
 
end
    
return ShipInfo
 
return ShipInfo
Anonymous user