Module:Ruby:修订历史

跳转到导航 跳转到搜索

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

2024年11月5日 (星期二)

  • 当前之前 21:552024年11月5日 (二) 21:55Selfice 留言 贡献 2,210字节 −138 无编辑摘要
  • 当前之前 21:532024年11月5日 (二) 21:53Selfice 留言 贡献 2,348字节 +2,348 创建页面,内容为“local module = {} local g_frame function get_arg ( name, plain ) if g_frame.args[name] and (mw.text.trim(g_frame.args[name]) ~= '' or plain) then return mw.text.trim(g_frame.args[name]) end end function module.ruby ( frame ) local parent = frame:getParent() if parent and (parent:getTitle() == "Template:Ruby" or parent:getTitle() == "Template:Ruby/Sandbox" or parent:getTitle() == "Template:沙盒") then frame = parent end g_frame = frame local args…”