- 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
Line 60:
Line 60:
− +
− +
Line 76:
Line 76:
− +
Line 127:
Line 127:
+
+
Line 273:
Line 275:
− +
− +
− +
− +
− +
− +
− +
+
+
+
+
+
+
+
Capabilities
<div style="background-color: lightskyblue; text-align: center; margin: 0px;">'''Extra Statistics'''</div>
<div style="background-color: lightskyblue; text-align: center; margin: 0px;">'''Extra Statistics'''</div>
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<div style="text-align: left; display: flex; margin: 2px 0px;">
<div style="text-align: left; display: ${opening_airstrike_display}; margin: 2px 0px;">
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.aircraft} Opening Airstrike'''</div>
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.aircraft} Opening Airstrike'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${opening_airstrike}'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${opening_airstrike}'''</div>
</div>
</div>
<div style="text-align: left; display: flex; margin: 2px 0px;">
<div style="text-align: left; display: ${opening_torpedo_display}; margin: 2px 0px;">
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.torpedo} Opening Torpedo'''</div>
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.torpedo} Opening Torpedo'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${opening_torpedo}'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${opening_torpedo}'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${artillery_spotting}'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${artillery_spotting}'''</div>
</div>
</div>
<div style="text-align: left; display: flex; margin: 2px 0px;">
<div style="text-align: left; display: ${closing_torpedo_display}; margin: 2px 0px;">
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.torpedo} Closing Torpedo'''</div>
<div style="margin-right: 1px; flex-shrink: 0; flex-basis: 140px; background-color: whitesmoke; display: flex; align-items: center;">'''${icons.torpedo} Closing Torpedo'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${closing_torpedo}'''</div>
<div style="margin-left: 1px; flex-grow: 1; background-color: whitesmoke; display: flex; align-items: center;">'''${closing_torpedo}'''</div>
_link_color_template = [[<span style="color: ${color};">${text}</span>]],
_link_color_template = [[<span style="color: ${color};">${text}</span>]],
_cg_size = "218x300px",
_cg_size = "218x300px",
_display_flex = "flex",
_display_none = "none",
}
}
function EnemyShipInfoKai:capabilities()
function EnemyShipInfoKai:capabilities()
local capabilities = ShipCapabilities{ship = self._ship}
local capabilities = ShipCapabilities{ship = self._ship}
self._vars.opening_airstrike = capabilities:opening_airstrike()
local opening_airstrike = capabilities:opening_airstrike()
self._vars.opening_torpedo = capabilities:opening_torpedo()
local opening_torpedo = capabilities:opening_torpedo()
self._vars.day_battle = capabilities:day_battle()
local day_battle = capabilities:day_battle()
self._vars.artillery_spotting = capabilities:artillery_spotting()
local artillery_spotting = capabilities:artillery_spotting()
self._vars.closing_torpedo = capabilities:closing_torpedo()
local closing_torpedo = capabilities:closing_torpedo()
self._vars.asw_attack = capabilities:asw_attack()
local asw_attack = capabilities:asw_attack()
self._vars.night_battle = capabilities:night_battle()
local night_battle = capabilities:night_battle()
self._vars.opening_airstrike_display, self._vars.opening_airstrike = opening_airstrike and self._display_flex or self._display_none, capabilities:format_opening_airstrike(opening_airstrike)
self._vars.opening_torpedo_display, self._vars.opening_torpedo = opening_torpedo and self._display_flex or self._display_none, capabilities:format_opening_torpedo(opening_torpedo)
self._vars.day_battle = capabilities:format_day_battle(day_battle)
self._vars.artillery_spotting = capabilities:format_artillery_spotting(artillery_spotting)
self._vars.closing_torpedo_display, self._vars.closing_torpedo = closing_torpedo and self._display_flex or self._display_none, capabilities:format_closing_torpedo(closing_torpedo)
self._vars.asw_attack = capabilities:format_asw_attack(asw_attack)
self._vars.night_battle = capabilities:format_night_battle(night_battle)
end
end