Line 35: |
Line 35: |
| | | |
| function gen_row(ship, remodel_level, base, max) { | | function gen_row(ship, remodel_level, base, max) { |
− | const format_cell = (group) => `|${group.count > 1 ? `colspan="${group.count}" ` : ""}style="background:#${group.element < 90 ? "c8e6c9" : group.element < 100 ? "ffe0b2" : group.element <= 155 ? "ffcdd2" : "cfd8dc"}"|${group.element <= 155 ? group.element: "N/A"}` | + | const format_cell = (group) => `|${group.count > 1 ? `colspan="${group.count}" ` : ""}style="background:#${group.element < 90 ? "c8e6c9" : group.element < 100 ? "ffe0b2" : group.element <= 155 ? "ffcdd2" : "cfd8dc"}"|${group.element <= 155 ? group.element : "N/A"}` |
− | return `|-\n|[[${ship}]]\n${group(calc_levels_for_asw(ship, remodel_level, base, max)).map(format_cell).join("\n")}`; | + | return `|-\n|{{ShipLink|${ship}}}\n${group(calc_levels_for_asw(ship, remodel_level, base, max)).map(format_cell).join("\n")}`; |
| } | | } |
| | | |
Line 51: |
Line 51: |
| !colspan="2"|1 Slot | | !colspan="2"|1 Slot |
| |- | | |- |
− | !T4/T4/T4<br />36 + 64 | + | !T4/T4/T4<br>36 + 64 |
− | !T4/T4/T3<br />34 + 66 | + | !T4/T4/T3<br>34 + 66 |
− | !style="color:red"|T4/T4/DC<br />32 + 68 | + | !style="color:red"|T4/T4/DC<br>32 + 68 |
− | !style="color:red"|T4/T3/DC<br />30 + 70 | + | !style="color:red"|T4/T3/DC<br>30 + 70 |
− | !style="color:red"|T3/T3/DC<br />28 + 72 | + | !style="color:red"|T3/T3/DC<br>28 + 72 |
− | !T4/T4<br />24 + 76 | + | !T4/T4<br>24 + 76 |
− | !T4/T3<br />22 + 78 | + | !T4/T3<br>22 + 78 |
− | !style="color:red"|T4/DC<br />20 + 80 | + | !style="color:red"|T4/DC<br>20 + 80 |
− | !style="color:red"|T3/DC<br />18 + 82 | + | !style="color:red"|T3/DC<br>18 + 82 |
− | !T4<br />12 + 88 | + | !T4<br>12 + 88 |
− | !T3<br />10 + 90 | + | !T3<br>10 + 90 |
| |- | | |- |
− | |[[Asashio Kai Ni D]] | + | |{{ShipLink|Asashio Kai Ni D}} |
| |colspan="9" style="background:#c8e6c9"|85 | | |colspan="9" style="background:#c8e6c9"|85 |
| |style="background:#ffe0b2"|97 | | |style="background:#ffe0b2"|97 |
| |style="background:#ffcdd2"|102 | | |style="background:#ffcdd2"|102 |
| |- | | |- |
− | |[[Libeccio Kai]] | + | |{{ShipLink|Libeccio Kai}} |
| |style="background:#c8e6c9"|60 | | |style="background:#c8e6c9"|60 |
| |style="background:#c8e6c9"|65 | | |style="background:#c8e6c9"|65 |
Line 81: |
Line 81: |
| |style="background:#ffcdd2"|124 | | |style="background:#ffcdd2"|124 |
| |- | | |- |
− | |[[Satsuki Kai Ni]] | + | |{{ShipLink|Satsuki Kai Ni}} |
| |colspan="3" style="background:#c8e6c9"|75 | | |colspan="3" style="background:#c8e6c9"|75 |
| |style="background:#c8e6c9"|78 | | |style="background:#c8e6c9"|78 |
Line 92: |
Line 92: |
| |style="background:#ffcdd2"|117 | | |style="background:#ffcdd2"|117 |
| |- | | |- |
− | |[[Asashimo Kai]] | + | |{{ShipLink|Asashimo Kai}} |
| |style="background:#c8e6c9"|66 | | |style="background:#c8e6c9"|66 |
| |style="background:#c8e6c9"|70 | | |style="background:#c8e6c9"|70 |
Line 105: |
Line 105: |
| |style="background:#ffcdd2"|124 | | |style="background:#ffcdd2"|124 |
| |- | | |- |
− | |[[Ushio Kai Ni]] | + | |{{ShipLink|Ushio Kai Ni}} |
| |style="background:#c8e6c9"|74 | | |style="background:#c8e6c9"|74 |
| |style="background:#c8e6c9"|79 | | |style="background:#c8e6c9"|79 |
Line 131: |
Line 131: |
| |style="background:#ffcdd2"|135 | | |style="background:#ffcdd2"|135 |
| |- | | |- |
− | |[[Akizuki Kai]]<br />[[Teruzuki Kai]]<br />[[Hatsuzuki Kai]] | + | |{{ShipLink|Akizuki Kai}}<br>{{ShipLink|Teruzuki Kai}}<br>{{ShipLink|Hatsuzuki Kai}} |
| |style="background:#c8e6c9"|81 | | |style="background:#c8e6c9"|81 |
| |style="background:#c8e6c9"|85 | | |style="background:#c8e6c9"|85 |
Line 144: |
Line 144: |
| |style="background:#ffcdd2"|142 | | |style="background:#ffcdd2"|142 |
| |- | | |- |
− | |[[Shigure Kai Ni]] | + | |{{ShipLink|Shigure Kai Ni}} |
| |style="background:#c8e6c9"|83 | | |style="background:#c8e6c9"|83 |
| |style="background:#c8e6c9"|87 | | |style="background:#c8e6c9"|87 |
Line 157: |
Line 157: |
| |style="background:#ffcdd2"|145 | | |style="background:#ffcdd2"|145 |
| |- | | |- |
− | |[[Yuudachi Kai Ni]] <br> [[Murakumo Kai Ni]] <br> [[Hatsushimo Kai Ni]] <br> [[Mutsuki Kai Ni]] | + | |{{ShipLink|Yuudachi Kai Ni}}<br>{{ShipLink|Murakumo Kai Ni}}<br>{{ShipLink|Hatsushimo Kai Ni}}<br>{{ShipLink|Mutsuki Kai Ni}} |
| |style="background:#c8e6c9"|87 | | |style="background:#c8e6c9"|87 |
| |style="background:#ffe0b2"|92 | | |style="background:#ffe0b2"|92 |
Line 170: |
Line 170: |
| |style="background:#ffcdd2"|150 | | |style="background:#ffcdd2"|150 |
| |- | | |- |
− | |[[Hatsuharu Kai Ni]] | + | |{{ShipLink|Hatsuharu Kai Ni}} |
| |style="background:#c8e6c9"|87 | | |style="background:#c8e6c9"|87 |
| |style="background:#ffe0b2"|92 | | |style="background:#ffe0b2"|92 |
Line 183: |
Line 183: |
| |style="background:#ffcdd2"|153 | | |style="background:#ffcdd2"|153 |
| |- | | |- |
− | |[[Kisaragi Kai Ni]] | + | |{{ShipLink|Kisaragi Kai Ni}} |
| |style="background:#c8e6c9"|88 | | |style="background:#c8e6c9"|88 |
| |style="background:#ffe0b2"|92 | | |style="background:#ffe0b2"|92 |
Line 196: |
Line 196: |
| |style="background:#ffcdd2"|149 | | |style="background:#ffcdd2"|149 |
| |- | | |- |
− | |[[Fubuki Kai Ni]] | + | |{{ShipLink|Fubuki Kai Ni}} |
| |style="background:#ffe0b2"|90 | | |style="background:#ffe0b2"|90 |
| |style="background:#ffe0b2"|95 | | |style="background:#ffe0b2"|95 |
Line 209: |
Line 209: |
| |style="background:#ffcdd2"|151 | | |style="background:#ffcdd2"|151 |
| |- | | |- |
− | |[[Kasumi Kai Ni]] | + | |{{ShipLink|Kasumi Kai Ni}} |
| |style="background:#ffe0b2"|90 | | |style="background:#ffe0b2"|90 |
| |style="background:#ffe0b2"|95 | | |style="background:#ffe0b2"|95 |
Line 222: |
Line 222: |
| |style="background:#ffcdd2"|154 | | |style="background:#ffcdd2"|154 |
| |- | | |- |
− | |[[Akatsuki Kai Ni]] | + | |{{ShipLink|Akatsuki Kai Ni}} |
| |style="background:#ffe0b2"|94 | | |style="background:#ffe0b2"|94 |
| |style="background:#ffe0b2"|99 | | |style="background:#ffe0b2"|99 |
Line 235: |
Line 235: |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |- | | |- |
− | |[[Ooshio Kai Ni]] | + | |{{ShipLink|Ooshio Kai Ni}} |
| |style="background:#ffe0b2"|99 | | |style="background:#ffe0b2"|99 |
| |style="background:#ffcdd2"|105 | | |style="background:#ffcdd2"|105 |
Line 248: |
Line 248: |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |- | | |- |
− | |[[Ayanami Kai Ni]] <br> [[Kawakaze Kai Ni]] | + | |{{ShipLink|Ayanami Kai Ni}}<br>{{ShipLink|Kawakaze Kai Ni}} |
| |style="background:#ffcdd2"|102 | | |style="background:#ffcdd2"|102 |
| |style="background:#ffcdd2"|107 | | |style="background:#ffcdd2"|107 |
Line 261: |
Line 261: |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |- | | |- |
− | |[[Arashio Kai Ni]] | + | |{{ShipLink|Arashio Kai Ni}} |
| |style="background:#ffcdd2"|114 | | |style="background:#ffcdd2"|114 |
| |style="background:#ffcdd2"|120 | | |style="background:#ffcdd2"|120 |
Line 274: |
Line 274: |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |- | | |- |
− | |[[Shimakaze Kai]] <br> [[Yukikaze Kai]] | + | |{{ShipLink|Shimakaze Kai}}<br>{{ShipLink|Yukikaze Kai}} |
| |style="background:#ffcdd2"|115 | | |style="background:#ffcdd2"|115 |
| |style="background:#ffcdd2"|121 | | |style="background:#ffcdd2"|121 |
Line 296: |
Line 296: |
| !colspan="2"|1 Slot | | !colspan="2"|1 Slot |
| |- | | |- |
− | !T4/T4/T4<br />36 + 64 | + | !T4/T4/T4<br>36 + 64 |
− | !T4/T4/T3<br />34 + 66 | + | !T4/T4/T3<br>34 + 66 |
− | !style="color:red"|T4/T4/DC<br />32 + 68 | + | !style="color:red"|T4/T4/DC<br>32 + 68 |
− | !style="color:red"|T4/T3/DC<br />30 + 70 | + | !style="color:red"|T4/T3/DC<br>30 + 70 |
− | !style="color:red"|T3/T3/DC<br />28 + 72 | + | !style="color:red"|T3/T3/DC<br>28 + 72 |
− | !T4/T4<br />24 + 76 | + | !T4/T4<br>24 + 76 |
− | !T4/T3<br />22 + 78 | + | !T4/T3<br>22 + 78 |
− | !style="color:red"|T4/DC<br />20 + 80 | + | !style="color:red"|T4/DC<br>20 + 80 |
− | !style="color:red"|T3/DC<br />18 + 82 | + | !style="color:red"|T3/DC<br>18 + 82 |
− | !T4<br />12 + 88 | + | !T4<br>12 + 88 |
− | !T3<br />10 + 90 | + | !T3<br>10 + 90 |
| |- | | |- |
− | |[[Kinu Kai Ni]] | + | |{{ShipLink|Kinu Kai Ni}} |
| |colspan="6" style="background:#c8e6c9"|75 | | |colspan="6" style="background:#c8e6c9"|75 |
| |style="background:#c8e6c9"|80 | | |style="background:#c8e6c9"|80 |
Line 316: |
Line 316: |
| |style="background:#ffcdd2"|113 | | |style="background:#ffcdd2"|113 |
| |- | | |- |
− | |[[Naka Kai Ni]] | + | |{{ShipLink|Naka Kai Ni}} |
| |style="background:#c8e6c9"|48 | | |style="background:#c8e6c9"|48 |
| |style="background:#c8e6c9"|50 | | |style="background:#c8e6c9"|50 |
Line 329: |
Line 329: |
| |style="background:#ffcdd2"|116 | | |style="background:#ffcdd2"|116 |
| |- | | |- |
− | |[[Sakawa Kai]] | + | |{{ShipLink|Sakawa Kai}} |
| |style="background:#c8e6c9"|63 | | |style="background:#c8e6c9"|63 |
| |style="background:#c8e6c9"|66 | | |style="background:#c8e6c9"|66 |
Line 342: |
Line 342: |
| |style="background:#ffcdd2"|110 | | |style="background:#ffcdd2"|110 |
| |- | | |- |
− | |[[Abukuma Kai Ni]] | + | |{{ShipLink|Abukuma Kai Ni}} |
| |colspan="5" style="background:#c8e6c9"|75 | | |colspan="5" style="background:#c8e6c9"|75 |
| |style="background:#c8e6c9"|82 | | |style="background:#c8e6c9"|82 |
Line 351: |
Line 351: |
| |style="background:#ffcdd2"|123 | | |style="background:#ffcdd2"|123 |
| |- | | |- |
− | |[[Kiso Kai Ni]] | + | |{{ShipLink|Kiso Kai Ni}} |
| |style="background:#c8e6c9"|65 | | |style="background:#c8e6c9"|65 |
| |style="background:#c8e6c9"|68 | | |style="background:#c8e6c9"|68 |
Line 364: |
Line 364: |
| |style="background:#ffcdd2"|115 | | |style="background:#ffcdd2"|115 |
| |- | | |- |
− | |[[Agano Kai]]<br />[[Noshiro Kai]]<br />[[Yahagi Kai]] | + | |{{ShipLink|Agano Kai}}<br>{{ShipLink|Noshiro Kai}}<br>{{ShipLink|Yahagi Kai}} |
| |style="background:#c8e6c9"|68 | | |style="background:#c8e6c9"|68 |
| |style="background:#c8e6c9"|71 | | |style="background:#c8e6c9"|71 |
Line 377: |
Line 377: |
| |style="background:#ffcdd2"|114 | | |style="background:#ffcdd2"|114 |
| |- | | |- |
− | |[[Jintsuu Kai Ni]] | + | |{{ShipLink|Jintsuu Kai Ni}} |
| |style="background:#c8e6c9"|60 | | |style="background:#c8e6c9"|60 |
| |style="background:#c8e6c9"|65 | | |style="background:#c8e6c9"|65 |
Line 390: |
Line 390: |
| |style="background:#ffcdd2"|124 | | |style="background:#ffcdd2"|124 |
| |- | | |- |
− | |[[Yura Kai]] | + | |{{ShipLink|Yura Kai}} |
| |style="background:#c8e6c9"|52 | | |style="background:#c8e6c9"|52 |
| |style="background:#c8e6c9"|58 | | |style="background:#c8e6c9"|58 |
Line 403: |
Line 403: |
| |style="background:#ffcdd2"|135 | | |style="background:#ffcdd2"|135 |
| |- | | |- |
− | |[[Kitakami Kai Ni]]<br />[[Ooi Kai Ni]] | + | |{{ShipLink|Kitakami Kai Ni}}<br>{{ShipLink|Ooi Kai Ni}} |
| |style="background:#c8e6c9"|71 | | |style="background:#c8e6c9"|71 |
| |style="background:#c8e6c9"|75 | | |style="background:#c8e6c9"|75 |
Line 416: |
Line 416: |
| |style="background:#ffcdd2"|120 | | |style="background:#ffcdd2"|120 |
| |- | | |- |
− | |[[Kuma Kai]]<br />[[Tama Kai]]<br />[[Natori Kai]] | + | |{{ShipLink|Kuma Kai}}<br>{{ShipLink|Tama Kai}}<br>{{ShipLink|Natori Kai}} |
| |style="background:#c8e6c9"|72 | | |style="background:#c8e6c9"|72 |
| |style="background:#c8e6c9"|76 | | |style="background:#c8e6c9"|76 |
Line 429: |
Line 429: |
| |style="background:#ffcdd2"|119 | | |style="background:#ffcdd2"|119 |
| |- | | |- |
− | |[[Sendai Kai Ni]] | + | |{{ShipLink|Sendai Kai Ni}} |
| |style="background:#c8e6c9"|72 | | |style="background:#c8e6c9"|72 |
| |style="background:#c8e6c9"|77 | | |style="background:#c8e6c9"|77 |
Line 442: |
Line 442: |
| |style="background:#ffcdd2"|143 | | |style="background:#ffcdd2"|143 |
| |- | | |- |
− | |[[Tenryuu Kai]]<br />[[Tatsuta Kai]] | + | |{{ShipLink|Tenryuu Kai}}<br>{{ShipLink|Tatsuta Kai}} |
| |style="background:#c8e6c9"|88 | | |style="background:#c8e6c9"|88 |
| |style="background:#ffe0b2"|93 | | |style="background:#ffe0b2"|93 |
Line 462: |
Line 462: |
| !colspan="6"|4 Slots | | !colspan="6"|4 Slots |
| |- | | |- |
− | !T4/T4/T4/T4<br />48 + 52 | + | !T4/T4/T4/T4<br>48 + 52 |
− | !T4/T4/T4/T3<br />46 + 54 | + | !T4/T4/T4/T3<br>46 + 54 |
− | !style="color:red"|T4/T4/T4/DC<br />44 + 56 | + | !style="color:red"|T4/T4/T4/DC<br>44 + 56 |
− | !style="color:red"|T4/T4/T3/DC<br />42 + 58 | + | !style="color:red"|T4/T4/T3/DC<br>42 + 58 |
− | !style="color:red"|T4/T3/T3/DC<br />40 + 60 | + | !style="color:red"|T4/T3/T3/DC<br>40 + 60 |
− | !style="color:red"|T3/T3/T3/DC<br />38 + 62 | + | !style="color:red"|T3/T3/T3/DC<br>38 + 62 |
| |- | | |- |
− | |[[Yuubari Kai]]<br />[[Kashima Kai]] | + | |{{ShipLink|Yuubari Kai}}<br>{{ShipLink|Kashima Kai}} |
| |style="background:#c8e6c9"|62 | | |style="background:#c8e6c9"|62 |
| |style="background:#c8e6c9"|66 | | |style="background:#c8e6c9"|66 |
Line 477: |
Line 477: |
| |style="background:#c8e6c9"|84 | | |style="background:#c8e6c9"|84 |
| |- | | |- |
− | |[[Katori Kai]] | + | |{{ShipLink|Katori Kai}} |
| |style="background:#c8e6c9"|75 | | |style="background:#c8e6c9"|75 |
| |style="background:#c8e6c9"|80 | | |style="background:#c8e6c9"|80 |
Line 485: |
Line 485: |
| |style="background:#ffe0b2"|99 | | |style="background:#ffe0b2"|99 |
| |- | | |- |
− | |[[Ooyodo Kai]] | + | |{{ShipLink|Ooyodo Kai}} |
| |style="background:#ffcdd2"|132 | | |style="background:#ffcdd2"|132 |
| |style="background:#ffcdd2"|138 | | |style="background:#ffcdd2"|138 |
Line 496: |
Line 496: |
| !colspan="5"|3 Slots | | !colspan="5"|3 Slots |
| |- | | |- |
− | !T4/T4/T4<br />36 + 64 | + | !T4/T4/T4<br>36 + 64 |
− | !T4/T4/T3<br />34 + 66 | + | !T4/T4/T3<br>34 + 66 |
− | !style="color:red"|T4/T4/DC<br />32 + 68 | + | !style="color:red"|T4/T4/DC<br>32 + 68 |
− | !style="color:red"|T4/T3/DC<br />30 + 70 | + | !style="color:red"|T4/T3/DC<br>30 + 70 |
− | !style="color:red"|T3/T3/DC<br />28 + 72 | + | !style="color:red"|T3/T3/DC<br>28 + 72 |
| |- | | |- |
− | |[[Yuubari Kai]]<br />[[Kashima Kai]] | + | |{{ShipLink|Yuubari Kai}}<br>{{ShipLink|Kashima Kai}} |
| |style="background:#c8e6c9"|88 | | |style="background:#c8e6c9"|88 |
| |style="background:#ffe0b2"|93 | | |style="background:#ffe0b2"|93 |
Line 509: |
Line 509: |
| |style="background:#ffcdd2"|106 | | |style="background:#ffcdd2"|106 |
| |- | | |- |
− | |[[Katori Kai]] | + | |{{ShipLink|Katori Kai}} |
| |style="background:#ffcdd2"|104 | | |style="background:#ffcdd2"|104 |
| |style="background:#ffcdd2"|109 | | |style="background:#ffcdd2"|109 |
Line 516: |
Line 516: |
| |style="background:#ffcdd2"|124 | | |style="background:#ffcdd2"|124 |
| |- | | |- |
− | |[[Ooyodo Kai]] | + | |{{ShipLink|Ooyodo Kai}} |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
Line 527: |
Line 527: |
| !colspan="2"|1 Slot | | !colspan="2"|1 Slot |
| |- | | |- |
− | !T4/T4<br />24 + 76 | + | !T4/T4<br>24 + 76 |
− | !T4/T3<br />22 + 78 | + | !T4/T3<br>22 + 78 |
− | !style="color:red"|T4/DC<br />20 + 80 | + | !style="color:red"|T4/DC<br>20 + 80 |
− | !style="color:red"|T3/DC<br />18 + 82 | + | !style="color:red"|T3/DC<br>18 + 82 |
− | !T4<br />12 + 88 | + | !T4<br>12 + 88 |
− | !T3<br />10 + 90 | + | !T3<br>10 + 90 |
| |- | | |- |
− | |[[Yuubari Kai]]<br />[[Kashima Kai]] | + | |{{ShipLink|Yuubari Kai}}<br>{{ShipLink|Kashima Kai}} |
| |style="background:#ffcdd2"|115 | | |style="background:#ffcdd2"|115 |
| |style="background:#ffcdd2"|119 | | |style="background:#ffcdd2"|119 |
Line 542: |
Line 542: |
| |style="background:#ffcdd2"|146 | | |style="background:#ffcdd2"|146 |
| |- | | |- |
− | |[[Katori Kai]] | + | |{{ShipLink|Katori Kai}} |
| |style="background:#ffcdd2"|134 | | |style="background:#ffcdd2"|134 |
| |style="background:#ffcdd2"|139 | | |style="background:#ffcdd2"|139 |
Line 550: |
Line 550: |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |- | | |- |
− | |[[Ooyodo Kai]] | + | |{{ShipLink|Ooyodo Kai}} |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |
| |style="background:#cfd8dc"|N/A | | |style="background:#cfd8dc"|N/A |