Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 03:48, 9 April 2015
468 bytes removed
,
9 years ago
m
no edit summary
Line 117:
Line 117:
row1, row2, row3, row4 = {}, {}, {}, {}
row1, row2, row3, row4 = {}, {}, {}, {}
end
end
−
end
−
end
−
−
function NanaminFleet:create_data_rows()
−
for _, item in ipairs(self._items) do
−
local row_values = {}
−
for _, column in ipairs(self._columns) do
−
local value = self[column](self, item)
−
if value then
−
row_values[column] = value
−
row_values[column].rowspan = 1
−
row_values[column].colspan = 1
−
end
−
end
−
table.insert(self._data_rows, row_values)
end
end
end
end
return NanaminFleet
return NanaminFleet
Nanamin
48
edits