Difference between revisions of "Module:Noinclude"
MyWikiBiz, Author Your Legacy — Monday July 01, 2024
Jump to navigationJump to search (Pywikibot 6.4.0) |
(No difference)
|
Latest revision as of 05:12, 16 July 2021
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