• 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:EliteShips"

From Kancolle Wiki
Jump to navigation Jump to search
com>Ckwng
(Refactor)
com>Ckwng
(wrapper template)
Line 4: Line 4:
  
 
function EliteShips.Table(frame)
 
function EliteShips.Table(frame)
local args = getArgs{frame = frame}
+
local args = getArgs{frame = frame,
 +
wrappers = {
 +
"Template:EliteShipsKai",
 +
}
 +
}
 
return EliteShipsKai:Table(args)
 
return EliteShipsKai:Table(args)
 
end
 
end
  
 
return EliteShips
 
return EliteShips

Revision as of 12:43, 21 February 2015

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

local EliteShips = {}
local EliteShipsKai = require('Module:EliteShipsKai')
local getArgs = require('Module:GetArgs')

function EliteShips.Table(frame)
	local args = getArgs{frame = frame,
		wrappers = {
			"Template:EliteShipsKai",
		}
	}
	return EliteShipsKai:Table(args)
end

return EliteShips