Module:Sandbox/User:The Gaffer/Modules/Infobox Switch: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 64:
end
 
mw.logObject(structure)
-- Return the complete HTML structure
return tostring(structure)
Line 69 ⟶ 70:
 
p.infobox_switch = function(frame)
local html_output =return p._infobox_switch(frame:getParent().args)
return frame:extensionTag('span', html_output, { contentmodel = 'html' })
end
 
 
return p
839

edits

Navigation menu