Changes

Undo revision 1077148 by Kenji135 (talk)
Line 20: Line 20:  
! style="white-space:nowrap;" | Notes]=],
 
! style="white-space:nowrap;" | Notes]=],
 
_column_cell_templates = {
 
_column_cell_templates = {
name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.japanese_name}]]
+
name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.icon} ${values.japanese_name}]]
 
},
 
},
 
_columns = {
 
_columns = {
Line 45: Line 45:     
function EquipmentListKai:name(equipment)
 
function EquipmentListKai:name(equipment)
return {values = {name = EquipmentLink.format(nil, { equipment:name(), icon="x" }),  
+
return {values = {
 +
        name = EquipmentLink.format(nil, { equipment:name() }),  
 +
icon = Formatting:format_image{Formatting:format_equipment_icon(equipment:icon())},  
 
japanese_name = Formatting:format_stat(equipment:japanese_name())
 
japanese_name = Formatting:format_stat(equipment:japanese_name())
 
},  
 
},  
Anonymous user