Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Fleet
(view source)
Revision as of 10:43, 6 June 2019
36 bytes added
,
5 years ago
m
no edit summary
Line 121:
Line 121:
for i, fleet in ipairs(fleets) do
for i, fleet in ipairs(fleets) do
table.insert(result, string.format('|-| %s =', 'Variant ' .. i))
table.insert(result, string.format('|-| %s =', 'Variant ' .. i))
−
if fleet.p2w then
+
if fleet.p2w
and fleet.p2w > 0
then
table.insert(result, '**P2W**, ')
table.insert(result, '**P2W**, ')
end
end
−
if fleet.f2p then
+
if fleet.f2p
and fleet.f2p > 0
then
table.insert(result, '**F2P**, ')
table.insert(result, '**F2P**, ')
end
end
がか
cssedit, gkautomate
7,064
edits