“Module:交叉颜色”的版本历史

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

2023年4月1日 (星期六)

  • 当前之前 19:412023年4月1日 (六) 19:41 W 留言 贡献 997字节 +997 创建页面,内容为“--协力:User:サンムル local p = {} function p._main(args,toggle) local texts = {} local colors = {} for k, v in pairs(args) do if type(k) == 'string' then --如果是字符串则匹配c开头 local index = k:match "^c(%d+)$" if index then colors[tonumber(index)] = v end else --是数字 texts[k] = v end end colors[0] = colors[#colors] -- 余数等于0时输出除数域 --渲染部分 local root = mw.html.create 'span' for i, v…”