Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:DropList
(view source)
Revision as of 08:08, 8 February 2016
121 bytes removed
,
8 years ago
m
no edit summary
Line 65:
Line 65:
-- header args
-- header args
local boss = args.boss and string.upper(args.boss) or '?'
local boss = args.boss and string.upper(args.boss) or '?'
−
for node_ in string.gmatch(args.nodes, args_grammar.comma_list) do
+
for node_ in
args.nodes and
string.gmatch(args.nodes, args_grammar.comma_list)
or {}
do
local node = node_:match(args_grammar.node)
local node = node_:match(args_grammar.node)
if node then
if node then
Line 221:
Line 221:
return showTable(parseArgs(args))
return showTable(parseArgs(args))
end
end
−
−
DropList.test = showTable(parseArgs({
−
'Nagato: A/Hard, Z/Easy',
−
'Fubuki: A/Easy',
−
'Roma: Z/Hard',
−
boss = 'Z',
−
nodes = 'A, B, C, Z',
−
}))
return DropList
return DropList
がか
cssedit, gkautomate
6,942
edits