Module:Module wikitext

来自Positive WiKi
imported>Xiplus2021年5月26日 (三) 13:44的版本 (已保护“Module:Module wikitext”:高風險模板,被介面使用([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

可在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