Module:Fairycode: 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

15 October 2024

  • curprev 12:3012:30, 15 October 2024Alex talk contribs 679 bytes +679 Created page with "local p = {} -- {{Fairycode}} entrance function p.code(frame) local args = frame:getParent().args mw.logObject(args) local code = args[1] return p._code(code) end -- Module entrance function p._code(code) assert(code, 'No fairycode provided') local first = string.upper( string.sub(code, 1, 1) ) local second = string.upper( string.sub(code, 2, 2) ) local third = string.upper( string.sub(code, 3, 3) ) if first == '' or second == '' or third == '' then er..."