• 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 14: Line 14:  
     _items = {},
 
     _items = {},
 
      
 
      
     _collapse_button_template = [[<div class="mw-customtoggle-${id}">Click this button to view the fleet</div>]],
+
     _collapse_button_template = [[<div class="mw-customtoggle-${id} wikia-menu-button">Click this button to view the fleet</div>]],
 
     _collapse_div_start = [[<div id="mw-customcollapsible-${id}" class="mw-collapsible mw-collapsed">]],
 
     _collapse_div_start = [[<div id="mw-customcollapsible-${id}" class="mw-collapsible mw-collapsed">]],
 
     _collapse_div_end = [[</div>]],
 
     _collapse_div_end = [[</div>]],
Line 39: Line 39:  
     _size = "120x165px",
 
     _size = "120x165px",
 
      
 
      
 +
    _id = "",
 
     _elos = 0,
 
     _elos = 0,
 
     _fighter_power = 0,
 
     _fighter_power = 0,
Line 263: Line 264:  
     self:process_hq_level()
 
     self:process_hq_level()
 
     self:process_args(args)
 
     self:process_args(args)
     local id = self:generate_id()
+
     self:generate_id()
     --table.insert(self._rows, format{self._collapse_button_template, id = id})
+
     table.insert(self._rows, format{self._collapse_button_template, id = self._id})
     --table.insert(self._rows, format{self._collapse_div_start, id = id})
+
     table.insert(self._rows, format{self._collapse_div_start, id = self._id})
 
     table.insert(self._rows, self._table_start)
 
     table.insert(self._rows, self._table_start)
 
     self:build_table()
 
     self:build_table()
 
     self:add_extras()
 
     self:add_extras()
 
     table.insert(self._rows, self._table_end)
 
     table.insert(self._rows, self._table_end)
     --table.insert(self._rows, self._collapse_div_end)
+
     table.insert(self._rows, self._collapse_div_end)
 
     return table.concat(self._rows, "\n")
 
     return table.concat(self._rows, "\n")
 
end
 
end
48

edits

Navigation menu