Changes

no edit summary
Line 10: Line 10:     
local EquipmentInfoKai = BaseData{
 
local EquipmentInfoKai = BaseData{
_template = [[{|class="${table_class}" id="${table_id}"
+
_template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 360px; background-color: #fafafa;"
 
|-
 
|-
 
| colspan="2" id="kc-eq-namecard" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div id="kc-eq-edit-link" style="position: absolute; right: 5px;">${edit_link}</div>
 
| colspan="2" id="kc-eq-namecard" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div id="kc-eq-edit-link" style="position: absolute; right: 5px;">${edit_link}</div>
Line 303: Line 303:  
caption = table.concat(card_caption)
 
caption = table.concat(card_caption)
 
end
 
end
tabber:add_tab("Card", EquipmentCardKai:get{equip = self._equipment, caption = caption})
+
tabber:add_tab("Card", EquipmentCardKai:get{equip = self._equipment, caption = caption, size = "350px", align = "center"})
tabber:add_tab("Fairy", EquipmentGraphicKai:get{equip = self._equipment, fairy = "only"})
+
tabber:add_tab("Fairy", EquipmentGraphicKai:get{equip = self._equipment, fairy = "only", size = "350px", align = "center"})
tabber:add_tab("Equipment", EquipmentGraphicKai:get{equip = self._equipment})
+
tabber:add_tab("Equipment", EquipmentGraphicKai:get{equip = self._equipment, size = "350px", align = "center"})
tabber:add_tab("Combination", EquipmentGraphicKai:get{equip = self._equipment, fairy = true})
+
tabber:add_tab("Combination", EquipmentGraphicKai:get{equip = self._equipment, fairy = true, size = "350px", align = "center"})
 
self._vars.card = tostring(tabber)
 
self._vars.card = tostring(tabber)
 
end
 
end
Line 449: Line 449:  
function EquipmentInfoKai:create_infobox_prep()
 
function EquipmentInfoKai:create_infobox_prep()
 
self._vars = {}
 
self._vars = {}
local table_classes = {"infobox-right"}
+
local table_classes = {"infobox", "infobox-left", "infobox-equipment"}
 
if self._args.classes then
 
if self._args.classes then
 
table.insert(table_classes, self._args.classes)
 
table.insert(table_classes, self._args.classes)
cssedit, gkautomate
7,060

edits