Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminShipInfo
(view source)
Revision as of 07:58, 19 April 2015
6 bytes added
,
9 years ago
m
no edit summary
Line 116:
Line 116:
end
end
−
function NanaminShipInfo:build_one(
args
)
+
function NanaminShipInfo:build_one(
class
)
−
self:build_table(
args["
class
"]
)
+
self:build_table(class)
return table.concat(self._rows, "\n")
return table.concat(self._rows, "\n")
end
end
Line 125:
Line 125:
--mw.log(self._sorted_entries["Light Cruiser"]["111"][1][1])
--mw.log(self._sorted_entries["Light Cruiser"]["111"][1][1])
table.insert(self._rows, "__NOTOC__")
table.insert(self._rows, "__NOTOC__")
−
if args["class"] then return self:build_one() end
+
if args["class"] then return self:build_one(
args["class"]
) end
self:build_table("Battleship")
self:build_table("Battleship")
self:build_table("Carrier")
self:build_table("Carrier")
Nanamin
48
edits