• 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
Hide rarity behind eq_type
Line 10: Line 10:  
<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>
Line 76: Line 76:     
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
  −
 
  −
function EquipmentInfoKai:rarity(equipment)
  −
return Formatting:format_equipment_rarity(equipment:rarity())
   
end
 
end
   Line 136: Line 132:  
icon = self:icon(equipment),
 
icon = self:icon(equipment),
 
eq_type = self:eq_type(equipment),
 
eq_type = self:eq_type(equipment),
rarity = self:rarity(equipment),
   
effects = self:effects(equipment),
 
effects = self:effects(equipment),
 
scrap = self:scrap(equipment),
 
scrap = self:scrap(equipment),
Anonymous user

Navigation menu