• 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
m
no edit summary
Line 29: Line 29:  
_emphasis_template = "'''${value}'''",
 
_emphasis_template = "'''${value}'''",
 
_transparent = "transparent",
 
_transparent = "transparent",
 +
_left_align = "left",
 
_start_align = "start",
 
_start_align = "start",
 
_center_align = "center",
 
_center_align = "center",
Line 261: Line 262:  
         local value = mw.ustring.sub(custom_row_key, 2)
 
         local value = mw.ustring.sub(custom_row_key, 2)
 
table.insert(self._rows, self._row_starter)
 
table.insert(self._rows, self._row_starter)
table.insert(self._rows, format{
+
        table.insert(self._rows, format{
    self._header1,
+
            self._cell,
    value = value
+
colspan = #self._columns, rowspan = 1,
        })
+
classes = self._custom_row_class,
 +
text_align = self._left_align,
 +
bg_color = self._transparent,
 +
values = {
 +
value = format{
 +
            self._header1,
 +
            value = value
 +
                }
 +
},
 +
})
 
elseif self._custom_rows and self._custom_rows[custom_row_key] then
 
elseif self._custom_rows and self._custom_rows[custom_row_key] then
 
if type(self._custom_rows[custom_row_key]) == "table" then
 
if type(self._custom_rows[custom_row_key]) == "table" then
cssedit, gkautomate
7,064

edits

Navigation menu