Module:maimai Difficulty: Difference between revisions
no edit summary
imported>Jack980517 (Created page with "local p local function VerToNum(args) return tonumber(mw.getCurrentFrame():expandTemplate{title='VerToNum',args=args}) end function p.maimai_difficulty_multi(args) local...") |
imported>Jack980517 No edit summary |
||
Line 59: | Line 59: | ||
if #included_ranges == 1 then -- first range special case | if #included_ranges == 1 then -- first range special case | ||
result = result .. "and " .. ranges_text[included_ranges[1]] .. "." | result = result .. "and " .. ranges_text[included_ranges[1]] .. "." | ||
print(result) | -- print(result) | ||
else | else | ||
for j = 1, #included_ranges do | for j = 1, #included_ranges do | ||
Line 72: | Line 72: | ||
end | end | ||
end | end | ||
result = result .. "<br>[[Category:maimai Songs]]" | result = result .. "<br>[[Category:Songs]][[Category:maimai Songs]]" | ||
if #args % 2 == 0 then | if #args % 2 == 0 then | ||
result = result .. "[[Category:maimai Removed Songs]]" | result = result .. "[[Category:maimai Removed Songs]]" |