Anonymous user
Module:Infobox: Difference between revisions
From The Kodiak Republic Wiki
Undid revision 957070706 by Ahecht (talk) - Undo for now, not very useful due to parameter name collisions
(Allow arguments passed via #invoke to override those passed into the invoking template.) |
|||
Line 400:
function p.infobox(frame)
--
-- Otherwise, for testing purposes, assume args are being passed directly in.
if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
else
origArgs = frame
end
-- Parse the data parameters in the same order that the old {{infobox}} did, so that
|