跳转到内容

Module:ChartConstantDetail:修订间差异

添加267字节 、​ 2022年8月28日 (星期日)
添加颜色
(加曲目链接)
(添加颜色)
 
第40行: 第40行:
end
end


function p.main()
function p.main(frame)
local inf = getInfList()
local inf = getInfList()


第47行: 第47行:
local outputTable = mw.html.create("table"):addClass("rotable"):addClass("sortable")
local outputTable = mw.html.create("table"):addClass("rotable"):addClass("sortable")
outputTable:tag("tr"):tag("th"):wikitext("曲绘"):tag("th"):wikitext("曲目")
outputTable:tag("tr"):tag("th"):wikitext("曲绘"):tag("th"):wikitext("曲目")
:tag("th"):wikitext("难度I"):tag("th"):wikitext("难度II")
:tag("th"):wikitext(frame:expandTemplate{ title = "Color", args = { "难度I", "难度I"} })
:tag("th"):wikitext("难度III"):tag("th"):wikitext(" 定数IV")
:tag("th"):wikitext(frame:expandTemplate{ title = "Color", args = { "难度II", "难度II"} })
:tag("th"):wikitext(frame:expandTemplate{ title = "Color", args = { "难度III", "难度III"} })
:tag("th"):wikitext(frame:expandTemplate{ title = "Color", args = { "难度IV", " 难度IV"} })


for _,inf in ipairs(inf)
for _,inf in ipairs(inf)