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:03, 30 November 2020
69 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"
data-number-of-formations
="%
s
"]],
+
_table_start = [[{|class="wikitable" style="width:690px"
style
="
margin-bottom:
%
spx
"]],
_header_template = [[!#
_header_template = [[!#
!Formation
!Formation
Line 466:
Line 466:
end
end
−
table.insert(self._rows, string.format(self._table_start,
self._number_of_formations
))
+
local bottom_margin = 500 - (50 * 2 + 50 * self._number_of_formations + 15 * 2 + 30)
+
table.insert(self._rows, string.format(self._table_start,
bottom_margin
))
table.insert(self._rows, self._header)
table.insert(self._rows, self._header)
end
end
がか
cssedit, gkautomate
7,064
edits