Module:Synced switch: 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

12 October 2024

  • curprev 13:5913:59, 12 October 2024Eq talk contribs 1,028 bytes +1,028 Created page with "local p = {} local hc = require('Module:Paramtest').has_content p._sortFunc = function(a,b) return a.id < b.id end p.main = function(frame) local args = frame:getParent().args local parsed = { {id=0, content=args.default or '', showing = true} } for k,v in pairs(args) do local s = tostring(k):match('version(%d+)') if hc(v) and s then local obj = {id=tonumber(s), text=args['text'..s], content=v} if obj.id == 1 then obj.showing = true parsed[1].sh..."