Module:Sandbox/CAS222222221: Difference between revisions

Content deleted Content added
No edit summary
Replace Module:No globals with require( "strict" )
 
(22 intermediate revisions by 2 users not shown)
Line 1:
require('strict')
 
local getArgs = require('Module:Arguments').getArgs
local InfoboxImage = require('Module:InfoboxImage').InfoboxImage
local p = {}
 
local function image(args)
return InfoboxImage{ args = { image = args[1] } }
end
 
function p.main(frame)
Line 14 ⟶ 11:
function p._main(args)
-- Main module code goes here.
return image(args)
end