2,513
edits
(fix Attempt to index upvalue 'origArgs' error) |
m (65 revisions imported: Importing Template:Tmbox, with templates.) |
||
(One intermediate revision by one other user not shown) | |||
Line 399:
end
local function
-- Parse the data parameters in the same order that the old {{infobox}} did, so that
-- references etc. will display in the expected places. Parameters that depend on
Line 456:
origArgs = frame:getParent().args
else
origArgs = frame
end
return _infobox()
Line 469:
for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end
return _infobox()
|