1,124
edits
Line 45: | Line 45: | ||
list = mw.text.split(frame.args[1], ';') | list = mw.text.split(frame.args[1], ';') | ||
result = '' | result = '' | ||
for k, v in | for k, v in ipairs(list) do | ||
vs = mw.text.split(v, '-') | vs = mw.text.split(v, '-') | ||
result = result .. _requirements(vs[1], vs[2], nil, frame.args['text']) | result = result .. _requirements(vs[1], vs[2], nil, frame.args['text']) |