跳转到内容

Module:Check for deprecated parameters:修订历史

2023年7月24日 (星期一)

  • 当前先前 05:192023年7月24日 (一) 05:19 BigBullfrog 留言 贡献 1,974字节 +1,974 建立内容为“-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- on the list local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and trim(s) ~= '' end function p.check (frame) -- create the table of deprecated values and their matching new value local args = frame.args local dep_values = {} for…”的新页面