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">[[https://en.kancollewiki.net/Module:Data/Map/%s?action=edit edit]]</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))