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 13:15, 19 September 2018
176 bytes added
,
6 years ago
m
no edit summary
Line 33:
Line 33:
for i, id in ipairs(data.api_ship_id) do
for i, id in ipairs(data.api_ship_id) do
result = result .. string.format(
result = result .. string.format(
−
'|-\n|%s||%s
|
|%s
|
|%s
|
|%s
|
|%s||%s||%s||%s||%s||%s\n',
+
'|-\n|%s||%s|%s|%s|%s|%s||%s||%s||%s||%s||%s\n',
getShipCard(id),
getShipCard(id),
data.api_ship_lv[i],
data.api_ship_lv[i],
−
data.api_Slot[i][1] > 0 and getEquipmentCard(data.api_Slot[i][1]) or ' ',
+
data.api_Slot[i][1] > 0 and
('|' ..
getEquipmentCard(data.api_Slot[i][1]
)
) or '
|style="background:grey;width:100px"|
',
−
data.api_Slot[i][2] > 0 and getEquipmentCard(data.api_Slot[i][2]) or ' ',
+
data.api_Slot[i][2] > 0 and
('|' ..
getEquipmentCard(data.api_Slot[i][2]
)
) or '
|style="background:grey;width:100px"|
',
−
data.api_Slot[i][3] > 0 and getEquipmentCard(data.api_Slot[i][3]) or ' ',
+
data.api_Slot[i][3] > 0 and
('|' ..
getEquipmentCard(data.api_Slot[i][3]
)
) or '
|style="background:grey;width:100px"|
',
−
data.api_Slot[i][4] > 0 and getEquipmentCard(data.api_Slot[i][4]) or ' ',
+
data.api_Slot[i][4] > 0 and
('|' ..
getEquipmentCard(data.api_Slot[i][4]
)
) or '
|style="background:grey;width:100px"|
',
-- data.api_nowhps[i],
-- data.api_nowhps[i],
data.api_maxhps[i],
data.api_maxhps[i],
がか
cssedit, gkautomate
7,064
edits