Module:Repeat: 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:1200:12, 17 October 2024Alex talk contribs 522 bytes +522 Created page with "-- -- Repeats a string a certain number of times -- Template:Multi -- local p = {} function p.rep(frame) local args = frame:getParent().args local inp = args[1] local count = tonumber(args[2]) if not count then return error('You must pass a number to the second argument') end -- We very rarely use any of these templates; no need to facilitate a ton of potential spam; 500 is a fine maximum count = math.floor(count) if count > 500 then count = 500 en..."