Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NodeInfo
(view source)
Revision as of 09:06, 30 November 2020
135 bytes added
,
3 years ago
no edit summary
Line 11:
Line 11:
local NodeInfo = BaseTable({
local NodeInfo = BaseTable({
_item_class = EnemyShip,
_item_class = EnemyShip,
−
_table_start = [[{|class="wikitable" style="width:690px" style="margin-bottom:%spx"]],
+
_table_start = [[{|class="wikitable" style="width:690px
"]],
+
_table_start_style = [[{|class="wikitable
" style="
width:690px;
margin-bottom:%spx"]],
_header_template = [[!#
_header_template = [[!#
!Formation
!Formation
Line 466:
Line 467:
end
end
−
local bottom_margin = 500 - (50 * 2 + 50 * self._number_of_formations + 15 * 2 + 30)
+
if false then
−
table.insert(self._rows, string.format(self.
_table_start
, bottom_margin))
+
local bottom_margin = 500 - (50 * 2 + 50 * self._number_of_formations + 15 * 2 + 30)
+
table.insert(self._rows, string.format(self.
_table_start_style
, bottom_margin))
+
else
+
table.insert(self._rows, _table_start)
+
end
+
table.insert(self._rows, self._header)
table.insert(self._rows, self._header)
end
end
がか
cssedit, gkautomate
7,064
edits