模块:MultiReplace:修订历史

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2025年6月13日 (星期五)

  • 当前之前 14:272025年6月13日 (五) 14:27 ZAN热评 留言 贡献 1,424字节 +1,424 创建页面,内容为“p = {} local function MultiReplace(args) local input = args[1] or "{{{1}}}" local plain = args.plain == "yes" local i = 1 local changeList = {} while args[i * 2] do local change = {pattern = args[i * 2], repl = args[i * 2 + 1]} if not change.repl then return require('Module:Error').error{ 'MultiReplace:不配对冲突:<code>' .. (i * 2) .. ' = ' .. change.pattern .. '</code>' } end changeList[i] = change i = i + 1 end local ma…”