Module:ArgsLib: 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 May 2024

7 May 2024

13 March 2024

12 March 2024

  • curprev 22:3122:31, 12 March 2024Maruhop talk contribs 575 bytes +575 Created page with "local p = {} -- Merges numbered args to table -- e.g. |param = value |param2 = value2 --> [value, value2] -- Accepts both param1 or param as the first index -- @args frame args, template args, or merged args -- @name base parameter name -- @count expected number of args function p.merge_numbered_args(args, name, count) local tbl = {} local i = 1 local arg = args[name] or args[name .. i] while not count and arg or i <= count do tbl[i] = arg i =..."