• 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 267: Line 267:  
else
 
else
 
table.insert(self._rows, self._row_starter)
 
table.insert(self._rows, self._row_starter)
 +
local classes = self._args[self._custom_row_prefix .. custom_row_key .. self._classes_suffix]
 +
if classes then
 +
    classes = " " .. classes
 +
else
 +
    classes = ""
 +
end
 
table.insert(self._rows,  
 
table.insert(self._rows,  
 
format{self._column_cell_templates["!"] or self._cell,  
 
format{self._column_cell_templates["!"] or self._cell,  
 
colspan = #self._columns, rowspan = 1,  
 
colspan = #self._columns, rowspan = 1,  
classes = self._custom_row_class .. (self._args[self._custom_row_prefix .. custom_row_key .. self._classes_suffix] or ""),
+
classes = self._custom_row_class .. classes,
 
text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align,  
 
text_align = self._args[self._custom_row_prefix .. custom_row_key .. self._text_align_suffix] or self._start_align,  
 
bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent,
 
bg_color = self._args[self._custom_row_prefix .. custom_row_key .. self._bg_color_suffix] or self._transparent,
Anonymous user

Navigation menu