Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Module:BaseTable
(view source)
Revision as of 12:18, 15 May 2023
98 bytes added
,
1 year ago
no edit summary
Line 245:
Line 245:
end
end
if row_values[column].simple then
if row_values[column].simple then
−
table.insert(self._rows, format(
self._column_cell_templates[column] or
self._cell_simple, row_values[column]))
+
table.insert(self._rows, format(self._cell_simple, row_values[column]))
else
else
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
Line 273:
Line 273:
for _, column in ipairs(self._columns) do
for _, column in ipairs(self._columns) do
if row_values[column] then
if row_values[column] then
−
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
+
if row_values[column].simple then
+
table.insert(self._rows, format(self._cell_simple, row_values[column]))
+
else
+
table.insert(self._rows, format(self._column_cell_templates[column] or self._cell, row_values[column]))
+
end
end
end
end
end
がか
cssedit, gkautomate
7,064
edits