Module:Transcript list: 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 1,549 bytes +1,549 Created page with "-- <pre> local p = {} function p.main(frame) local args = frame:getParent().args -- return tag local ret = mw.html.create('div') :addClass('seealso') local params = {} local ttl = 0 -- noplayer local hasplayer = true -- collect and count arguments for _, v in ipairs(args) do if string.lower(v) == 'noplayer' then hasplayer = false elseif string.lower(v) ~= 'player' then ttl = ttl + 1 table.insert(params,v) end end -- increase count if pl..."