Module:Kiraraf角色简介
跳到导航
跳到搜索
local titleset = mw.loadData("模块:Kiraraf角色简介/Title") local getArgs = require("Module:Arguments").getArgs local p = {} local function wikitext(text1) return mw.getCurrentFrame():preprocess(text1) end local function getTitle(workName, charName) local title title = titleset[workName] and titleset[workName][charName] if title then return wikitext(title) else return "注意:简介未找到,请核对对应模块!" end end p["简介"] = function(frame) local workName = frame.args[1] local charName = frame.args[2] return getTitle(workName, charName) end return p