- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 23:
Line 23:
− _blueprint = " [[Blueprint.png|36px]]",
− +
Line 168:
Line 167:
− +
no edit summary
_stat_1 = "%d",
_stat_1 = "%d",
_stat_2 = "%d (%d)",
_stat_2 = "%d (%d)",
_slot_template = [[|-
_slot_template = [[|-
| align=center colspan="3" | ${equipment}
| align=center colspan="3" | ${icon} ${equipment}
| align=center | ${space}
| align=center | ${space}
]],
]],
local slots = {}
local slots = {}
for i = 1, math.max(4, ship:slots()) do
for i = 1, math.max(4, ship:slots()) do
table.insert(slots, format(self._slot_template, {equipment = ship:equipment(i), space = ship:space(i)}))
table.insert(slots, format(self._slot_template, {icon = ship:equipment_icon(i), equipment = ship:equipment(i), space = ship:space(i)}))
end
end
return table.concat(slots)
return table.concat(slots)