• 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 129: Line 129:  
end
 
end
   −
function ShipPage:format_header(ship_name, basepagename)
+
function ShipPage:format_header(ship_name, basepagename, args)
 
     self._vars = {
 
     self._vars = {
 
         ship_name = ship_name,
 
         ship_name = ship_name,
Line 136: Line 136:  
     self:format_ship_meta()
 
     self:format_ship_meta()
 
     self:format_ship_infoboxes(basepagename)
 
     self:format_ship_infoboxes(basepagename)
     self:format_ship_categories(basepagename)
+
     if not args.no_categories then
 +
        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)
Line 145: Line 147:  
     local basepagename = args.implicit.basepagename or ""
 
     local basepagename = args.implicit.basepagename or ""
 
     local ship_name = args.explicit.ship or args.implicit.pagename or ""
 
     local ship_name = args.explicit.ship or args.implicit.pagename or ""
     return ShipPage:format_header(ship_name, basepagename)
+
     return ShipPage:format_header(ship_name, basepagename, args.explicit)
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu