Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleetKai
(view source)
Revision as of 09:29, 20 April 2015
647 bytes added
,
9 years ago
m
no edit summary
Line 165:
Line 165:
table.insert(self._rows, self._row_starter)
table.insert(self._rows, self._row_starter)
self:insert_extra(content)
self:insert_extra(content)
+
if self._args["difficulty"] then
+
self:insert_extra("Difficulty Chosen: " .. self._args["difficulty"])
+
end
+
if self._args["drops"] then
+
local drops = Functions.split(self._args["drops"])
+
content = "Notable Drops<br />"
+
for i = 1, #drops do
+
local ship = Ship(drops[i], "")
+
local card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
+
content = content .. card .. " "
+
if i % 4 == 0 then
+
content = mw.ustring.sub(content, 1, -2) .. "<br />"
+
end
+
end
+
self:insert_extra(content)
+
end
end
end
Nanamin
48
edits