Module:TRLTaskRow: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1300:13, 17 October 2024Alex talk contribs 835 bytes +835 Created page with "local p = {} function p.main(frame) local args = frame:getParent().args local id = args.id return p._main(id) end function p._main(id) local completion_percent = mw.loadJsonData("Module:Trailblazer_Reloaded_League/Tasks/completion.json")[tonumber(id)] if (completion_percent ~= nil) then local color = "" if (completion_percent < 0.1) then completion_percent = "<0.1" color = "red" elseif (completion_percent < 1) then color = "orange" elseif (complet..."