Module:Noinclude

MyWikiBiz, Author Your Legacy — Thursday September 29, 2022
Jump to navigationJump to search

Template:High-use Template:Module rating

Usage

This module has the same function as a pair of Template:Tag tags, but can be nested within them without causing issues.

{{#invoke:Noinclude|noinclude|text=content to noinclude}}


local p = {}
function p.noinclude(frame)
	return frame:getParent():preprocess("<noinclude>" .. frame.args.text .. "</noinclude>");
end
return p