• 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
no edit summary
Line 119: Line 119:  
         first = false
 
         first = false
 
       end
 
       end
       table.insert(result, string.format('|-\n!colspan="11"|%s', fleetType .. ' (Variant ' .. i .. ')'))
+
      local fleetNote = fleetType .. ' (Variant ' .. i .. ')'
 +
      if fleet.p2w and fleet.p2w > 0 then
 +
        fleetNote = fleetNote .. " '''{{color|red|P2W}}'''"
 +
      end
 +
      if fleet.f2p and fleet.f2p > 0 then
 +
        fleetNote = fleetNote .. " '''{{color|green|F2P}}'''"
 +
      end
 +
       table.insert(result, string.format('|-\n!colspan="11"|%s', fleetNote))
 
       table.insert(result, tableHeader)
 
       table.insert(result, tableHeader)
 
       for _, ship in ipairs(fleet.fleet) do
 
       for _, ship in ipairs(fleet.fleet) do
cssedit, gkautomate
7,064

edits

Navigation menu