Module:200mxp: 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

16 October 2024

  • curprev 23:5923:59, 16 October 2024Alex talk contribs 583 bytes +583 Created page with "-- <pre> local p = {} local lookuptable = require("Module:200mxp/data") local gamemodeindex = { ["all"] = 1, ["im"] = 2, ["uim"] = 3, ["hcim"] = 4 } local function lookup(skill,gamemode) local info = lookuptable[skill] if info == nil then return 'Invalid {{{1}}} param' elseif skill=='update' then return info else return info[gamemodeindex[gamemode] or 1] end end function p.lookup(frame) local args = frame:getParent().args local skill = string.lower(..."