Module:Sandbox/BrandonXLF/1

This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 22:48, 4 January 2020 (Testing from use in template). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}
function p.main (frame)
	local args  = frame.args
	local template = args._t
	if not template then
		return require('Module:Error').error({'Error: no template name given.'})
	end
	return frame:expandTemplate{title = template, args = args}
end
return p