local module = { } local data = mw.loadData("Module:碧蓝航线links/Data")["data"] function module.translate(frame) local i = 1 local list = {} while(frame.args[i])do local item = data[mw.text.trim(frame.args[i])] table.insert(list, item.link .. (mw.ustring.find(item.name or "", "[^%a]?改$") and ".改" or "")) i=i+1 end return "{{碧蓝航线图鉴|" .. table.concat(list, "|") .. "}}" end return module