Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipSeasonalQuotes
(view source)
Revision as of 03:55, 29 January 2017
139 bytes removed
,
7 years ago
m
no edit summary
Line 51:
Line 51:
function ShipSeasonalQuotes.format(frame, args)
function ShipSeasonalQuotes.format(frame, args)
args = args or Utils.getTemplateArgs(frame)
args = args or Utils.getTemplateArgs(frame)
−
local ship = args.
implicit.pagename
or args.
explicit
.
ship or ""
+
local ship = args.
explicit["1"]
or args.
implicit
.
pagename
−
local ship2 = args.explicit
.ship2
+
local ship2 = args.explicit
["2"]
local result = {}
local result = {}
table.insert(result, templates.header)
table.insert(result, templates.header)
Line 67:
Line 67:
return table.concat(result, "\n")
return table.concat(result, "\n")
end
end
−
−
-- ShipSeasonalQuotes.t = ShipSeasonalQuotes.format(nil, { implicit = { pagename = "Taigei" }, explicit = { ship2 = "Ryuuhou" } })
return ShipSeasonalQuotes
return ShipSeasonalQuotes
がか
cssedit, gkautomate
7,064
edits