Line 30: |
Line 30: |
| | colspan="4" style="padding: 0px;" |<div style="background-color: lightskyblue; cursor: pointer; text-align: center; margin: 0px;" class="mw-customtoggle-extra">'''Extra'''</div> | | | colspan="4" style="padding: 0px;" |<div style="background-color: lightskyblue; cursor: pointer; text-align: center; margin: 0px;" class="mw-customtoggle-extra">'''Extra'''</div> |
| <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-extra" style="padding: 2px; font-size: 12px;"> | | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-extra" style="padding: 2px; font-size: 12px;"> |
− | <div style="display: ${opening_airstrike_display};">Airstrike (${opening_airstrike})</div>
| + | Some notes maybe |
− | <div>${day_battle}</div>
| |
− | <div style="display: ${artillery_spotting_display};">${artillery_spotting}</div>
| |
− | <div style="display: ${opening_torpedo_display};">Opening Salvo</div>
| |
− | <div style="display: ${closing_torpedo_display};">Torpedo (${closing_torpedo})</div>
| |
− | <div>ASW ${asw_attack}</div>
| |
− | <div>NB ${night_battle}</div>
| |
| </div> | | </div> |
| |}]], | | |}]], |
Line 44: |
Line 38: |
| local link, text, section = self._ship:link() | | local link, text, section = self._ship:link() |
| self._vars.name = Formatting:format_link(link, text, section) | | self._vars.name = Formatting:format_link(link, text, section) |
| + | end |
| + | |
| + | function EnemyShipInfoMini:firepower() |
| + | self._vars.firepower = Formatting:format_stat(self._ship:firepower()) |
| + | end |
| + | |
| + | function EnemyShipInfoMini:armor() |
| + | self._vars.armor = Formatting:format_stat(self._ship:armor()) |
| + | end |
| + | |
| + | function EnemyShipInfoMini:torpedo() |
| + | self._vars.torpedo = Formatting:format_stat(self._ship:torpedo()) |
| + | end |
| + | |
| + | function EnemyShipInfoMini:aa() |
| + | self._vars.aa = Formatting:format_stat(self._ship:aa(), self._ship:aa()) |
| + | end |
| + | |
| + | function EnemyShipInfoMini:asw() |
| + | self._vars.asw = Formatting:format_stat(self._ship:asw(), self._ship:asw()) |
| end | | end |
| | | |