2,513
edits
(sync p.infoboxTemplate(frame) from sandbox) |
m (65 revisions imported: Importing Template:Tmbox, with templates.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8:
local args = {}
local origArgs = {}
local root
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()
|