- 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 7:
Line 7:
− +
Line 36:
Line 36:
− +
Line 170:
Line 170:
− +
Fix headers
local ShipRemodelListKai = BaseTable{
local ShipRemodelListKai = BaseTable{
_header_template = [[! colspan=5 | Before Remodel
_header_template = [[! colspan=6 | Before Remodel
! rowspan=2 style="width:30px;" | ⇒
! rowspan=2 style="width:30px;" | ⇒
! colspan=3 | After Remodel
! colspan=3 | After Remodel
! style="width: 30px; text-align: center; vertical-align: middle; background-color: lightgrey;" | ${steel}
! style="width: 30px; text-align: center; vertical-align: middle; background-color: lightgrey;" | ${steel}
|-
|-
! colspan=5 | Before Remodel
! colspan=6 | Before Remodel
! colspan=3 | After Remodel
! colspan=3 | After Remodel
! colspan=2 | Required Resources]],
! colspan=2 | Required Resources]],
}
}
for key, value in pairs(header_icons) do
for key, value in pairs(header_icons) do
header_icons[key] = Formatting:format_image{value, caption = Formatting:format_resource_name(key), size = key == "blueprint" and "x18px" or nil}
header_icons[key] = Formatting:format_image{value, caption = Formatting:format_resource_name(key), size = (key == "blueprint" or key == "catapult") and "24px" or nil}
end
end
self._header = format(self._header_template, header_icons)
self._header = format(self._header_template, header_icons)