Module:RandomText:修订历史

跳转到导航 跳转到搜索

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

2025年1月24日 (星期五)

  • 当前之前 01:342025年1月24日 (五) 01:34Selfice 留言 贡献 709字节 +709 创建页面,内容为“-- Module:RandomText local p = {} -- Function to randomly select one of the provided arguments function p.choose(frame) -- Get all the arguments passed to the template local args = frame.args -- Collect all non-nil, non-empty arguments local options = {} for _, value in ipairs(args) do if value and value ~= "" then table.insert(options, value) end end -- If there are no valid arguments, return empty…”