“模块:Radio-list”的版本间差异

添加133字节 、​ 2020年10月10日 (六) 06:48
无编辑摘要
end
return {skip, mw.ustring.gsub(string, "([年月])0?(%d+)", "%1<span class=\"countdown-num\">%2</span>")}
end
 
function cell(string)
end
 
function rowspan(string)
return mw.ustring.match("rowspan= style=\"a:b\"{{!}}c", "rowspan%s*=%s*[\"\']?(%d+)")
end
 
function p.main(frame)
local args = getArgs(frame, {removeBlanks = false})
-- Main module code goes here.
local result = "{|class=\"wikitable radio-list"..(args.comment and " radio-with-comment" or "").."\"\n!#!!配信日期"
local cvcols = args.cvcols and mw.text.split(args.cvcols, "、") or {}
local ncols = 2 + (args.comment and 1 or 0)
local ncvcols = 2
16,874

个编辑