Module:Synced switch: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 April 2024

  • curprev 00:3000:30, 25 April 2024Plz2 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..."