- 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 10:
Line 10:
− +
Line 76:
Line 76:
− +
− end
−
− function EquipmentInfoKai:rarity(equipment)
− return Formatting:format_equipment_rarity(equipment:rarity())
Line 136:
Line 132:
− rarity = self:rarity(equipment),
Hide rarity behind eq_type
<p style="font-size:20px">'''No.${id} ${japanese_name}'''</p>
<p style="font-size:20px">'''No.${id} ${japanese_name}'''</p>
|-
|-
| colspan="2" style="text-align: center; background-color: whitesmoke;"|<p>'''${icon} ${eq_type}, ${rarity}'''</p>
| colspan="2" style="text-align: center; background-color: whitesmoke;"|<p>'''${icon} ${eq_type}'''</p>
<p>'''Effects: ${effects}'''</p>
<p>'''Effects: ${effects}'''</p>
<p>'''Scrap value: ${scrap}'''</p>
<p>'''Scrap value: ${scrap}'''</p>
function EquipmentInfoKai:eq_type(equipment)
function EquipmentInfoKai:eq_type(equipment)
return Formatting:format_equipment_type(equipment:type())
return Formatting:tooltip(Formatting:format_equipment_type(equipment:type()), Formatting:format_equipment_rarity(equipment:rarity()))
end
end
icon = self:icon(equipment),
icon = self:icon(equipment),
eq_type = self:eq_type(equipment),
eq_type = self:eq_type(equipment),
effects = self:effects(equipment),
effects = self:effects(equipment),
scrap = self:scrap(equipment),
scrap = self:scrap(equipment),