Module:Noinclude

MyWikiBiz, Author Your Legacy — Sunday December 22, 2024
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