Module:Arguments: Revision history

From Old MT Dev
Jump to navigationJump 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.

    5 August 2023

    • curprev 13:4313:43, 5 August 2023Poetry talk contribs 656 bytes +656 Created page with "local p = {} function p.getArgs(frame, options) options = options or {} local metatable = {} function metatable:__index(key) local arg = frame.args[key] if arg == nil and options.inherited then local parent = frame:getParent() arg = parent and parent.args[key] or nil end return arg end return setmetatable({}, metatable) end function p.makeInvokeFunc(func, options) return function(frame)..."