Jump to content

Module:Sandbox/CAS222222221

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 風中的刀劍 (talk | contribs) at 02:33, 22 July 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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)
	local args = getArgs(frame)
	return p._main(args)
end

function p._main(args)
	-- Main module code goes here.
	return image(args)
end

return p