Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentInfoKai
(view source)
Revision as of 06:56, 10 May 2024
14 bytes removed
,
6 months ago
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
Sin sin
354
edits