• 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
Use infobox class for mobile support
Line 65: Line 65:  
]],
 
]],
 
_image_template = "[[File:%s]]",
 
_image_template = "[[File:%s]]",
_template = [[{|class="typography-xl-optout ${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 320px; float: ${float};"
+
_template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 320px; background-color: #fafafa; float: ${float};"
 
|-
 
|-
 
| colspan="6" style="position: relative; text-align: center; background-color: ${top_bg_color};${top_extra_style}" title="${rarity}" | <div style="position: absolute; right: 5px;">${edit_link}</div>
 
| colspan="6" style="position: relative; text-align: center; background-color: ${top_bg_color};${top_extra_style}" title="${rarity}" | <div style="position: absolute; right: 5px;">${edit_link}</div>
Line 441: Line 441:  
end
 
end
 
self._vars = {icons = icons, labels = labels}
 
self._vars = {icons = icons, labels = labels}
local table_classes = {}
+
local table_classes = {"typography-xl-optout", "infobox"}
 
if self._args.classes then
 
if self._args.classes then
 
table.insert(table_classes, self._args.classes)
 
table.insert(table_classes, self._args.classes)
Anonymous user

Navigation menu