Module:ListField: Revision history

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.

30 January 2023

  • curprev 07:2707:27, 30 January 2023Editor talk contribs 1,329 bytes +1,329 Created page with "local getArgs = require('Module:Arguments').getArgs; local defArgs = require('Module:Arguments').defaultArgs; local listField = {}; function listField.func1( frame ) local args = defArgs(getArgs(frame), 1, ""); local arg = args[1]; local arg1 = args[2]; local arg2 = args[3]; local arg3 = args[4]; local text = "" function trim(s) return (string.gsub(s, "^%s*(.-)%s*$", "%1")) end list = {} id = {} for page,data in arg:gmatch("&&([%S]+)&&" .. arg1 .. "..."