Module:Demo: 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

11 October 2024

  • curprev 22:4822:48, 11 October 2024Alex talk contribs 465 bytes +465 Created page with "--<nowiki> local T = require("Module:T")._main local p = {} function p.f(frame) local args = frame:getParent().args local template = args[1] local _args = {} for k, v in pairs(args) do if type(k) == "number" then if k ~= 1 then _args[k - 1] = v end else _args[k] = v end end return '<span class="plainlinks">' .. T(args) .. " produces<br>" .. frame:expandTemplate({ title = template, args = _args }) .. '</span>' end return p --</nowiki>"