• 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 165: Line 165:  
     local StatTable = '<table>' .. row1 .. row2 .. row3 .. row4 .. row5 .. row6 .. row7 .. row8 .. row9 .. row10 .. '</table>'
 
     local StatTable = '<table>' .. row1 .. row2 .. row3 .. row4 .. row5 .. row6 .. row7 .. row8 .. row9 .. row10 .. '</table>'
 
     return StatTable
 
     return StatTable
 +
end
 +
 +
function shipmodule.dispNumRows(frame)
 +
    local shipNum = frame.args[1]
 +
    -- Getting ship ID, number, & info
 +
    if (tonumber(string.sub(shipNum, 1, 3)) == nil and string.sub(shipNum, 1, 4) ~= "Mist" ) then -- if given a name instead of ID, this searches the db for the ship's corresponding ID
 +
    shipNum = shipdb.findID(frame)
 +
end
 +
    local numRows = 4
 +
    -- ship ID for Musashi Kai 2
 +
    if shipNum == 346 then
 +
    numRows = 5
 +
    end
 +
    return numRows
 
end
 
end
  
5,421

edits

Navigation menu