- 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 44:
Line 44:
+
Line 179:
Line 180:
− +
− +
add _pillbox_label
_icon_caption_template = "${equipment} - ${equipment_type}",
_icon_caption_template = "${equipment} - ${equipment_type}",
_installation_label = "Installation",
_installation_label = "Installation",
_pillbox_label = "Pillbox",
_opening_torpedo_label = "Opening Torpedo",
_opening_torpedo_label = "Opening Torpedo",
_air_power_template = "${air_power} Air Power",
_air_power_template = "${air_power} Air Power",
table.insert(value, tostring(mw.html.create('span'):css({color = Formatting:format_ship_back(back)}):tag('b'):wikitext(Formatting:format_ship_rarity(back)):allDone()))
table.insert(value, tostring(mw.html.create('span'):css({color = Formatting:format_ship_back(back)}):tag('b'):wikitext(Formatting:format_ship_rarity(back)):allDone()))
end
end
if ship:is_installation() then
if ship:speed() == 0 then
table.insert(value, tostring(mw.html.create('b'):wikitext(self._installation_label)))
table.insert(value, tostring(mw.html.create('b'):wikitext(ship:is_pillbox() and self._pillbox_label or self._installation_label)))
end
end
if note then
if note then