• 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 23: Line 23:  
]],
 
]],
 
_image_template = "[[File:%s]]",
 
_image_template = "[[File:%s]]",
_template = [[{|class="${table_class}" style="border: 1px solid darkgray; width: 320px;"
+
_template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 320px;"
 
|-
 
|-
 
|colspan="6" style="text-align: center; background-color: ${top_bg_color};${top_extra_style}"|<p style="font-size:20px">'''${name}'''</p>
 
|colspan="6" style="text-align: center; background-color: ${top_bg_color};${top_extra_style}"|<p style="font-size:20px">'''${name}'''</p>
Line 252: Line 252:  
labels[k] = Formatting:format_stat_name(k)
 
labels[k] = Formatting:format_stat_name(k)
 
end
 
end
vars.table_class = collapsible and ("mw-collapsed mw-customcollapsible-" .. collapsible) or ""
+
vars.table_class = collapsible and "mw-collapsed" or ""
 +
vars.table_id = collapsible and ("mw-custom-collapsible-" .. collapsible)
 
vars.icons = icons
 
vars.icons = icons
 
vars.labels = labels
 
vars.labels = labels
Anonymous user

Navigation menu