• 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 79: Line 79:     
function ShipPage:format_ship_categories(basepagename)
 
function ShipPage:format_ship_categories(basepagename)
     self._vars.ship_categories = #basepagename > 0 and "" or ShipCategoriesKai:Categories({ self._vars.ship_name })
+
     self._vars.ship_categories = basepagename == "Sandbox" and "" or ShipCategoriesKai:Categories({ self._vars.ship_name })
 
end
 
end
   Line 108: Line 108:  
     return format{
 
     return format{
 
         ShipPage._footer_links,
 
         ShipPage._footer_links,
         fullpagename = #basepagename > 0 and (basepagename .. "/" .. ship_name) or ship_name,
+
         fullpagename = basepagename == "Sandbox" and ("Sandbox/" .. ship_name) or ship_name,
 
         ship_name = ship:name(),
 
         ship_name = ship:name(),
 
         ship_code = Formatting:format_ship_code(ship_type),
 
         ship_code = Formatting:format_ship_code(ship_type),
cssedit, gkautomate
7,060

edits

Navigation menu