Module:Subobjecthelper: 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 394 bytes +394 Created page with "local p = {} function p.main(frame) local args = frame.args local subobj = {} for k,v in pairs(args) do if not (k == 'splitpoint' or k == 'subobjectname') then v = v:gsub('[\r\n]', '') subobj[k] = mw.text.split(v, args.splitpoint or '&split&') end end if args.subobjectname then mw.smw.subobject(subobj, args.subobjectname) else mw.smw.subobject(subobj) end end return p"