Module:Fairycode: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    9 November 2022

    • curprev 11:5911:59, 9 November 2022Jacmob talk contribs 652 bytes +652 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) if code == nil then error('No fairycode provided') end local first = string.sub(code, 1, 1) local second = string.sub(code, 2, 2) local third = string.sub(code, 3, 3) if first == '' or second == '' or third == '' then error('Missing one or more co..."