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

Module:ShipList

From Kancolle Wiki
Revision as of 18:47, 7 April 2015 by com>Ckwng
Jump to navigation Jump to search

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

local ShipList = {}
local ShipCardListKai = require('Module:ShipCardListKai')
local ShipBattleCardListKai = require('Module:ShipBattleCardListKai')
local getArgs = require('Module:GetArgs')

function ShipList.CardList(frame)
	local args = getArgs{frame = frame:getParent()}
	return ShipCardListKai:Table(args)
end

function ShipList.BattleCardList(frame)
	local args = getArgs{frame = frame:getParent()}
	return ShipBattleCardListKai:Table(args)
end

return ShipList