Module:Sandbox/Evad37/X1

This is an old revision of this page, as edited by Evad37 (talk | contribs) at 14:35, 19 June 2020 (:). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

-- This module is a sandbox. It is also used for testing XFDcloser

local p = {}

p.main = function(frame) 
	local childFrame = frame:newChild{ title = "Sandbox", args = {} }
	local FULLPAGENAME = childFrame:preprocess( "{{FULLPAGENAME}}" )
	return FULLPAGENAME
end

p.content = function(frame)
	local parent = frame:getParent()
	local title = mw.title.getCurrentTitle()
	local content = title:getContent()
	return content
end

return p