134
个编辑
DrLee lihr(讨论 | 贡献) 无编辑摘要 |
DrLee lihr(讨论 | 贡献) 无编辑摘要 |
||
第9行: | 第9行: | ||
function constantFormat (a) | local function constantFormat (a) | ||
if not(a) then return "" end | if not(a) then | ||
return "<span class=\"old-constant\"> - <span>" | |||
end | |||
if a["old"] == true then | if a["old"] == true then | ||
return "<span class=\"old-constant\">" .. string.format("%.1f", a["constant"]) .. "<span>" | return "<span class=\"old-constant\">" .. string.format("%.1f", a["constant"]) .. "<span>" | ||
第17行: | 第19行: | ||
end | end | ||
end | end | ||
function p.main() | function p.main() | ||
第49行: | 第49行: | ||
for i, k in pairs(constantList) do | for i, k in pairs(constantList) do | ||
if specialSongNameConverter[k[2]] then | if specialSongNameConverter[k[2]] then | ||
finText = finText .. "|-\n|[[" .. specialSongNameConverter[k[2]] | finText = finText .. "|-\n|[[" .. specialSongNameConverter[k[2]] |
个编辑