• 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
experimental: equipment infobox float left by default
Line 71: Line 71:  
_buildable = "'''Buildable'''",
 
_buildable = "'''Buildable'''",
 
_unbuildable = "''Unbuildable''",
 
_unbuildable = "''Unbuildable''",
_float_style_template =  "float: ${float};",
+
_float_style_template =  " float: left; margin: 0 1.5em 1em 0;",
 
_shown_ship_types = {
 
_shown_ship_types = {
 
1, 2,
 
1, 2,
Line 461: Line 461:  
self._vars.table_class = table.concat(table_classes, " ")
 
self._vars.table_class = table.concat(table_classes, " ")
 
self._vars.table_id = collapsible and collapsible ~= "true" and ("mw-customcollapsible-" .. collapsible) or ""
 
self._vars.table_id = collapsible and collapsible ~= "true" and ("mw-customcollapsible-" .. collapsible) or ""
self._vars.float = self._args.float and format{self._float_style_template, float = self._args.float} or ""
+
self._vars.float = self._args.float and "" or self._float_style_template
 
end
 
end
  
354

edits

Navigation menu