• 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 3: Line 3:  
local template = {
 
local template = {
 
footer = "|}",
 
footer = "|}",
header = [[{|style="text-align:center;width:100%"
+
header = [[{|style="text-align:center;width:100%%"
!colspan="5" style="background-color:#3baef5;color:white"|Rewards]],
+
!colspan="5" style="background-color:#3baef5;color:white;padding:10px"|Rewards<span style="float:right">&#x5b;[https://en.kancollewiki.net/Module:Data/Map/%s?action=edit edit]&#x5d;</span>]],
 
ship_row = [=[|-
 
ship_row = [=[|-
 
!style="background-color:#3baef5;color:white;width:40%%"|Ship
 
!style="background-color:#3baef5;color:white;width:40%%"|Ship
Line 69: Line 69:  
setData('Easy')
 
setData('Easy')
 
setData('Casual')
 
setData('Casual')
local result = { template.header }
+
local result = { string.format(template.header, event) }
 
if ship then
 
if ship then
 
table.insert(result, string.format(template.ship_row, getAsset(ship), ship))
 
table.insert(result, string.format(template.ship_row, getAsset(ship), ship))
cssedit, gkautomate
7,064

edits

Navigation menu