Jump to content

Module:Module wikitext

Permanently protected module
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jackmcbarn (talk | contribs) at 17:43, 7 September 2020 (typo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}

p.text = ''

function p.main()
	return p.text
end

function p._addText(text, preprocessFrame)
	if preprocessFrame ~= false then
		text = (preprocessFrame or mw.getCurrentFrame()):preprocess(text)
	end
	p.text = p.text .. text
end

return p