- 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
Line 89:
Line 89:
+
+
Line 179:
Line 181:
+
+
+
+
Line 201:
Line 207:
+
no edit summary
if item_key == "-" then
if item_key == "-" then
table.insert(self._items, "break")
table.insert(self._items, "break")
elseif item_key == "~" then
table.insert(self._items, "empty")
elseif item_key == "#" then
elseif item_key == "#" then
table.insert(self._items, "header")
table.insert(self._items, "header")
if row_values == "header" then
if row_values == "header" then
table.insert(self._rows, self._header)
table.insert(self._rows, self._header)
elseif row_values == "empty" then
for _, column in ipairs(self._columns) do
table.insert(self._rows, self._column_empty_cells[column] or self._empty_cell)
end
elseif type(row_values) == "table" then
elseif type(row_values) == "table" then
for _, column in ipairs(self._columns) do
for _, column in ipairs(self._columns) do
end
end
--deprecated
function BaseTable:build_rows_breaks_as_empty_rows()
function BaseTable:build_rows_breaks_as_empty_rows()
for index, row_values in ipairs(self._data_rows) do
for index, row_values in ipairs(self._data_rows) do