Module:SkillData PrereqList

local p = {}

function p.make_list(frame) local skill_names = mw.text.split(frame.args[1], ";%s") local skill_levels = mw.text.split(frame.args[2], ";%s") local output = "" if skill_names[1] ~= "" then for i = 1, #skill_names do output = output .. "\n* " .. skill_names[i] .. ", lv. " .. skill_levels[i] end end return output end

return p