• 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 121: Line 121:  
end
 
end
   −
function ShipPage:format_ship_categories(basepagename)
+
function ShipPage:format_ship_categories(basepagename, args)
     self._vars.ship_categories = basepagename == "Sandbox" and "" or ShipCategoriesKai:Categories({ self._vars.ship_name })
+
     self._vars.ship_categories = basepagename == "Sandbox" or args.no_categories and "" or ShipCategoriesKai:Categories({ self._vars.ship_name })
 
end
 
end
   Line 136: Line 136:  
     self:format_ship_meta()
 
     self:format_ship_meta()
 
     self:format_ship_infoboxes(basepagename)
 
     self:format_ship_infoboxes(basepagename)
     if not args.no_categories then
+
     self:format_ship_categories(basepagename, args)
        self:format_ship_categories(basepagename)
  −
    end
   
     self:format_notice(basepagename)
 
     self:format_notice(basepagename)
 
     return format(self._header, self._vars)
 
     return format(self._header, self._vars)
cssedit, gkautomate
7,064

edits

Navigation menu