• 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
Max-width added to prevent stretch
Line 100: Line 100:  
}
 
}
   −
local tableHeader = [=[<div style="width:90%;margin-left:20px">
+
local tableHeader = [=[<div style="max-width:1400px;width:90%;margin-left:20px">
 
{|style="width:100%"
 
{|style="width:100%"
 
|style="width:50px"|[[File:${icon}.png|link=]]
 
|style="width:50px"|[[File:${icon}.png|link=]]
Line 106: Line 106:  
|}
 
|}
 
</div>
 
</div>
<div style="position:relative;border:solid 1px lightgray;width:95%;border-radius:10px;padding:10px;margin:10px;margin-top:0px">
+
<div style="position:relative;border:solid 1px lightgray;max-width:1500px;width:95%;border-radius:10px;padding:10px;margin:10px;margin-top:0px">
{|style="margin:0 auto;radius:10px;cellpadding:10px;width:100%" cellspacing="0"
+
{|style="margin:0 auto;radius:10px;cellpadding:10px;width:100%" cellspacing="0" class="sortable"
 
!style="cellpadding:10px;width:4%;" |#
 
!style="cellpadding:10px;width:4%;" |#
 
!style="cellpadding:10px;width:24%;" |Name
 
!style="cellpadding:10px;width:24%;" |Name
 
!style="cellpadding:10px;" |Time
 
!style="cellpadding:10px;" |Time
!style="cellpadding:10px;width:1px;" rowspan="100" |
   
]=]
 
]=]
    
local tableHeader2 = [=[!style="cellpadding:10px;width:7%;" |HQ
 
local tableHeader2 = [=[!style="cellpadding:10px;width:7%;" |HQ
 
!style="cellpadding:10px;width:7%;" |Ship
 
!style="cellpadding:10px;width:7%;" |Ship
!style="cellpadding:10px;width:1px;" rowspan="100" |
   
!style="cellpadding:10px;width:7%;" |[[File:Fuel.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Fuel.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Ammunition.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Ammunition.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Steel.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Steel.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Bauxite.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" |[[File:Bauxite.png|30px|link=]]
!style="cellpadding:10px;width:1px;" rowspan="100" |
   
!style="cellpadding:10px;width:20%;" colspan="2" |Rewards
 
!style="cellpadding:10px;width:20%;" colspan="2" |Rewards
|-
  −
|style="background:gray;" colspan="14"|
   
]=]
 
]=]
    
local tableHeader2Req = [=[!style="cellpadding:10px;width:7%;"|Σ(Lv)
 
local tableHeader2Req = [=[!style="cellpadding:10px;width:7%;"|Σ(Lv)
 
!style="cellpadding:10px;width:7%;" align="center"|[[File:Flagship icon.png|link=]]
 
!style="cellpadding:10px;width:7%;" align="center"|[[File:Flagship icon.png|link=]]
!style="cellpadding:10px;width:1px;" rowspan="100"|
   
!style="cellpadding:10px;width:21%;" align="center"|Requirements
 
!style="cellpadding:10px;width:21%;" align="center"|Requirements
 
!style="cellpadding:10px;width:7%;" align="center"|[[File:Drum.png|30px|link=]]
 
!style="cellpadding:10px;width:7%;" align="center"|[[File:Drum.png|30px|link=]]
!style="cellpadding:10px;width:1px;" rowspan="100"|
   
!style="cellpadding:10px;width:10%;" align="center"|[[File:Fuel.png|30px|link=]]
 
!style="cellpadding:10px;width:10%;" align="center"|[[File:Fuel.png|30px|link=]]
 
!style="cellpadding:10px;width:10%;" align="center"|[[File:Ammunition.png|30px|link=]]
 
!style="cellpadding:10px;width:10%;" align="center"|[[File:Ammunition.png|30px|link=]]
 
]=]
 
]=]
 +
 +
-- !style="cellpadding:10px;width:1px;" rowspan="100" class="unsortable"|
    
local function pad(n)
 
local function pad(n)
Line 155: Line 150:  
   [2] = 'Item Icon Instant Construction Material.png',
 
   [2] = 'Item Icon Instant Construction Material.png',
 
   [3] = 'Item Icon Development Material.png',
 
   [3] = 'Item Icon Development Material.png',
   [4] = 'Item Icon Improvement_material.png',
+
   [4] = 'Item Icon Improvement Material.png',
 
   [10] = 'Item Icon Furniture Box (Small).png',
 
   [10] = 'Item Icon Furniture Box (Small).png',
 
   [11] = 'Item Icon Furniture Box (Medium).png',
 
   [11] = 'Item Icon Furniture Box (Medium).png',
Line 267: Line 262:  
   } .. (req and tableHeader2Req or tableHeader2) .. U.joinLines(U.imap(es, function(e, i)
 
   } .. (req and tableHeader2Req or tableHeader2) .. U.joinLines(U.imap(es, function(e, i)
 
     return formatRow(args, e, i, hourly, req, supp)
 
     return formatRow(args, e, i, hourly, req, supp)
   end)) .. "\n|}"
+
   end)) .. "\n|}\n</div>"
 
end
 
end
  
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,932

edits

Navigation menu