Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 09:32, 6 April 2015
164 bytes added
,
9 years ago
m
no edit summary
Line 5:
Line 5:
local NanaminFleet = {
local NanaminFleet = {
−
_template = [[
+
_template = [[
{| class="wikitable"
| style="background: lightskyblue;" |Ship
| style="background: lightskyblue;" |Ship
| style="background: lightskyblue;" |Equipment
| style="background: lightskyblue;" |Equipment
Line 31:
Line 31:
]]
]]
}
}
+
+
function NanaminFleet:Table(args)
+
return self{
+
_args = args
+
}:create_table()
+
end
function NanaminFleet:ship_card(ship)
function NanaminFleet:ship_card(ship)
Line 67:
Line 73:
end
end
−
function NanaminFleet:
Infobox
(args)
+
function NanaminFleet:
create_table
(args)
local ships = {}
local ships = {}
local vars = {}
local vars = {}
Line 83:
Line 89:
end
end
+
mw.log(format(self._template, vars))
return format(self._template, vars)
return format(self._template, vars)
end
end
return NanaminFleet
return NanaminFleet
Nanamin
48
edits