Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:KanmusuModule
(view source)
Revision as of 08:59, 11 October 2022
57 bytes added
,
2 years ago
Fix sortno rendering
Line 44:
Line 44:
'<td colspan="3" class="double-image" style="width:240px;height:60px">' .. BannerImg .. BannerDmgImg .. "</td>"
'<td colspan="3" class="double-image" style="width:240px;height:60px">' .. BannerImg .. BannerDmgImg .. "</td>"
local dispNo = U.split(ship.no, "-")[1] or "?"
local dispNo = U.split(ship.no, "-")[1] or "?"
−
local sortNo = ship.sortno and formatTooltip(dispNo, string.format("%d ",
ship.sortno
)) or dispNo
+
local sortNo = ship.sortno
−
local row1 = "<tr>" .. Cards .. '<th style="text-align: center;">' ..
sortNo
.. "</th>" .. Banners .. "</tr>"
+
local sortNoText = sortNo and (sortNo > 1000
and formatTooltip(dispNo, string.format("%d ",
sortNo
)
) or sortNo
) or dispNo
+
local row1 = "<tr>" .. Cards .. '<th style="text-align: center;">' ..
sortNoText
.. "</th>" .. Banners .. "</tr>"
-- Formatting Japanese
-- Formatting Japanese
local kanji, form
local kanji, form
Sin sin
354
edits