local p = {} local function text(str,size,frame) local tbl = {} for i = 1, mw.ustring.len(str) do local char = mw.ustring.sub(str, i, i); table.insert(tbl,"{{魔女文字字母|") table.insert(tbl,char) table.insert(tbl,"|size=") table.insert(tbl,size) table.insert(tbl,"}}") end return frame:preprocess(table.concat(tbl)) end p['魔女文字'] = function(frame) local str = frame.args[1] local size = frame.args[2] return text(str,size,frame) end return p