Module:Module wikitext: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Module:Module wikitext": Highly visible template: request at WP:RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
imported>Autumn m (1 revision imported) |
||
(No difference)
| |||
Latest revision as of 17:01, 8 March 2021
Documentation for this module may be created at Module:Module wikitext/doc
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