Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:MapRewards
(view source)
Revision as of 18:00, 26 June 2022
146 bytes added
,
2 years ago
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">[[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))
がか
cssedit, gkautomate
7,064
edits