Jump to content

Module:Module wikitext/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
 
No edit summary
 
Line 1: Line 1:
--[[
--[[
local p = {}
Add your experimental module code here.

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

--]]
--]]

Latest revision as of 03:44, 27 May 2021

--[[
   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

--]]