Module:Infobox/doc: Difference between revisions

add local p = {}
m (Typo)
(add local p = {})
Line 11:
===Unpack the frame arguments from the Template===
<syntaxhighlight lang="lua">
local p = {}
 
function p.main(frame)
local args = frame:getParent().args
Line 69 ⟶ 71:
return infobox
end
 
return p
</syntaxhighlight>