Jump to content

Module:User:Mr. Stradivarius/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mr. Stradivarius (talk | contribs) at 12:12, 2 May 2017 (test with a child frame). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

local template = [=[

== Foo ==

Bar baz.
]=]

function p.main(frame)
	local child = frame:newChild{title = "Testing"}
	return child:preprocess(template)
end

return p