- 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 36:
Line 36:
− +
Line 122:
Line 122:
− +
no edit summary
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | ${label}]],
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | ${label}]],
_localized_name_template = "<p>''${localized_name}''</p>",
_localized_name_template = "<p>''${localized_name}''</p>",
_flight_stats_template = [[<br/><b>Combat Radius: ${flight_range}</b>]],
_flight_stats_template = [[<br/><b>Combat Radius: ${combat_radius}</b> (Deployment Cost: ${deployment_cost})]],
_alternative_names_template = [[
_alternative_names_template = [[
|-
|-
local eq_type = self._equipment:type()
local eq_type = self._equipment:type()
if eq_type == 6 or eq_type == 7 or eq_type == 8 or eq_type == 9 or eq_type == 11 or eq_type == 10 or eq_type == 41 or eq_type == 45 or eq_type == 47 or eq_type == 48 or eq_type == 94 then
if eq_type == 6 or eq_type == 7 or eq_type == 8 or eq_type == 9 or eq_type == 11 or eq_type == 10 or eq_type == 41 or eq_type == 45 or eq_type == 47 or eq_type == 48 or eq_type == 94 then
self._vars.flight_stats = format{self._flight_stats_template, flight_range = Formatting:format_stat(self._equipment:flight_range())}
self._vars.flight_stats = format{self._flight_stats_template, combat_radius = Formatting:format_stat(self._equipment:combat_radius()), deployment_cost = Formatting:format_resources(self._equipment:deployment_cost())}
else
else
self._vars.flight_stats = ""
self._vars.flight_stats = ""