因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
local p = {}
local args = {}
local origArgs = {}
local root
-- Returns a table containing the numbers of the arguments that exist
-- for the specified prefix. For example, if the prefix was 'data', and
-- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}.
local function getArgNums(prefix)
local nums = {}
for k, v in pairs(args) do
local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$')
if num then table.insert(nums, tonumber(num)) end
end
table.sort(nums)
return nums
end
local function addItem(itemArgs, root)
local item = root:tag('div')
000
1:0
本页使用的模板:
返回模块:Statsbar。