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

Changes

Jump to navigation Jump to search
no edit summary
Line 58: Line 58:     
function ListOfSortable.ParseAndGenerate(frame)
 
function ListOfSortable.ParseAndGenerate(frame)
local shipClass = frame.args['shipClass']
+
local shipClass = {}
local remodelSuffix = U.split(frame.args['remodelSuffix'], ',')
+
if frame.args['shipClass']   ~= nil then shipClass = frame.args['shipClass'] end
local notes = U.split(frame.args['notes'], ',\n')
+
local remodelSuffix = {}
local coloring = U.split(frame.args['coloring'], ',\n')
+
if frame.args['remodelSuffix'] ~= nil then remodelSuffix = U.split(frame.args['remodelSuffix'], ',') end
 +
local notes = {}
 +
if frame.args['notes']   ~= nil then notes = U.split(frame.args['notes'], ',\n') end
 +
local coloring = {}
 +
if frame.args['coloring']   ~= nil then coloring = U.split(frame.args['coloring'], ',\n') end
 
 
 
return GenerateTable(shipClass, remodelSuffix, notes, coloring)
 
return GenerateTable(shipClass, remodelSuffix, notes, coloring)
1,024

edits

Navigation menu