Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 06:17, 20 April 2015
324 bytes added
,
9 years ago
m
no edit summary
Line 276:
Line 276:
local battle_card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
local battle_card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
table.insert(drops, battle_card)
table.insert(drops, battle_card)
−
table.insert(self._rows, format{self._added_cell_template,
+
−
content = "
Notable Drops
<br />" ..
table
.
concat
(drops
,
" ")
,
+
local content = "Notable Drops<br />" .. (drops[1] or "") .. " " .. (drops[2] or "") .. " " .. (drops[3] or "")
−
bg_color
=
self._extra_cells_bg,
+
local index = 4
−
})
+
while drops[index] do
+
table.insert(self._rows, format{self._added_cell_template
,
+
content = content,
+
bg_color = self._extra_cells_bg
,
+
})
+
content = "<br />" ..
(drops[index] or "") .. " " .. (drops[index + 1] or "") .. " " .
. (drops
[index + 2] or
"")
+
index
=
index + 3
+
end
end
end
end
end
return NanaminFleet
return NanaminFleet
Nanamin
48
edits