• 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
no edit summary
Line 45: Line 45:  
},
 
},
 
_caption_template = [[|+ style="position: relative;" | ${icon}${name}<span style="position: absolute; right: 5px; font-weight: normal;">${edit_link}</span>]],
 
_caption_template = [[|+ style="position: relative;" | ${icon}${name}<span style="position: absolute; right: 5px; font-weight: normal;">${edit_link}</span>]],
_name_custom_row_template = [[! colspan="${colspan}" style="text-align: center; padding:5px 5px 5px 5px;" class="custom-row" | <div style="position: relative; padding: 0px 40px 0px 0px;">${icon}${name}: ${resources}<span style="position: absolute; right: 5px; font-weight: normal;">${edit_link}</span></div>]],
+
_name_custom_row_template = [[! colspan="${colspan}" style="text-align: center; padding:5px 5px 5px 5px;" class="${classes}" | <div style="position: relative; padding: 0px 40px 0px 0px;">${icon}${name}: ${resources}<span style="position: absolute; right: 5px; font-weight: normal;">${edit_link}</span></div>]],
 
_custom_row_class = "custom-row multi-toggle-target-improvementtablekai-day",
 
_custom_row_class = "custom-row multi-toggle-target-improvementtablekai-day",
 
_edit_link_text = "Edit",
 
_edit_link_text = "Edit",
Line 95: Line 95:  
self._custom_rows[item:name()] = {content = format{self._name_custom_row_template,  
 
self._custom_rows[item:name()] = {content = format{self._name_custom_row_template,  
 
    colspan = #self._columns,
 
    colspan = #self._columns,
 +
    classes = self._custom_row_class,
 
icon = Formatting:format_image{Formatting:format_equipment_icon(item:icon())},  
 
icon = Formatting:format_image{Formatting:format_equipment_icon(item:icon())},  
 
name = Formatting:format_link(item:link()),  
 
name = Formatting:format_link(item:link()),  
Anonymous user

Navigation menu