Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:BaseTable
(view source)
Revision as of 19:34, 28 October 2017
132 bytes added
,
7 years ago
no edit summary
Line 204:
Line 204:
function BaseTable:start_rows()
function BaseTable:start_rows()
−
self._rows = {self._table_start, self._header
}
+
self._rows = {self._table_start
}
+
if not self._args.no_header then
+
table.insert(self._rows
, self._header
)
+
end
end
end
Line 308:
Line 311:
function BaseTable:finish_rows()
function BaseTable:finish_rows()
−
table.insert(self._rows, self._row_starter)
+
if not self._args.no_header_bottom then
−
table.insert(self._rows, self._header_bottom or self._header)
+
table.insert(self._rows, self._row_starter)
+
table.insert(self._rows, self._header_bottom or self._header)
+
end
table.insert(self._rows, self._table_end)
table.insert(self._rows, self._table_end)
end
end
がか
cssedit, gkautomate
7,064
edits