Module:Tmpl/testcases: Revision history

From BoyWiki

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.

21 December 2021

  • curprev 22:1022:10, 21 December 2021UpgradeTest1 talk contribs 776 bytes +776 Created page with "local p = require('Module:ScribuntoUnit'):new() local m = require('Module:Tmpl') local function callWithArgs(arg0, args) local templateArgs = {} if args then for k, v in pairs(args) do local n = tonumber(k) or 0 if (n >= 1) then templateArgs[n] = v end end templateArgs[0] = arg0 end local frame = (mw.getCurrentFrame() :newChild{ args = templateArgs } :newChild{ args = {} }) return m.renderTmpl(frame) end function p:testRenderTmpl() self:ass..."