• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Module:ShipInfo"

From Kancolle Wiki
Jump to navigation Jump to search
com>Ckwng
(Debugging.)
com>Ckwng
Line 5: Line 5:
 
function ShipInfo.Infobox(frame)
 
function ShipInfo.Infobox(frame)
 
local args = getArgs(frame)
 
local args = getArgs(frame)
return args["name"], args["model"]
+
return unpack(args)
 
end
 
end
  
 
return ShipInfo
 
return ShipInfo

Revision as of 07:23, 14 December 2014

Documentation for this module may be created at Module:ShipInfo/doc

local ShipInfo = {}
local ShipInfoKai = require('Module:ShipInfoKai')
local getArgs = require('Module:GetArgs')

function ShipInfo.Infobox(frame)
	local args = getArgs(frame)
	return unpack(args)
end

return ShipInfo