查看“模块:Standings”的源代码

跳转至: 导航搜索

因为以下原因,您没有权限编辑本页:

  • 您所请求的操作仅限于该用户组的用户使用:用户
  • 您必须确认您的电子邮件地址才能编辑页面。请通过系统设置设置并确认您的电子邮件地址。

您可以查看与复制此页面的源代码。

local p = {} --p stands for package
local mode_col = 1
local level_col = 2
local score_col = 3
local name_col = 4
local video_col = 5
local date_col = 6
-- compare score, including HS and SR
function score_less(a, b)
if string.find(a, ':') and string.find(b, ':') then
return a > b
elseif not string.find(a, ':') and not string.find(b, ':') then
return a < b
end
end
-- sort by mode, level, score and date
function standing_less(a, b)
if a[mode_col] ~= b[mode_col] then
הההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
调试控制台
* 此模块的返回的值存于控制台变量“p”中,包括没有保存的变更。 * 在一行的前面加上“=”或使用print()可以将其作为表达式来计算。表格请使用mw.logObject()。 * 在模块代码中使用mw.log()和mw.logObject()来向控制台发送消息。

该页面使用的模板:

返回至模块:Standings