• 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
m
no edit summary
Line 14: Line 14:  
local function getShipCard(ship)
 
local function getShipCard(ship)
 
     local s = Ship(ship)
 
     local s = Ship(ship)
     return '[[File:KanMusu' .. (s:id() or s:true_id() or '?') .. 'Banner.png]]<br>[[' .. s:base_name() .. '|' .. s:name() .. ']]'
+
     local i = s:id() or s:true_id()
 +
    local is = i and (i < 10 and '00' .. i or i < 100 and '0' .. i or i) or '?'
 +
    return '[[File:KanMusu' .. is .. 'Banner.png]]<br>[[' .. s:base_name() .. '|' .. s:name() .. ']]'
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu