Module:Sandbox/Andrybak Explained

local getArgs = require('Module:Arguments').getArgs

p =

p.list = function(frame) local start = 1609455600 local images = for t = 0, 512, 1 do local d = os.date("%Y-%m-%d", start + t * 24 * 60 * 60) local image = frame:expandTemplate table.insert(images, image) end return frame:preprocess(table.concat(images, "
"))end

p.asciiToSevenSegmentDisplayUnicode = function(frame) local args = getArgs(frame) local s = args[1] local map = local result = string.gsub(s, "%d", function(digit) local replacement = map[digit] return replacement or digit end ) return resultend

return p