Noinclude

From iGeek

In forms, template, etc. you might want <noinclude>{Some Content}</noinclude> and of course the parser interprets noinclude, instead of transcluding/copying it.

The hack is to embed the no include block in another no include block like this: <no<noinclude></noinclude>include>{Some Content}</no<noinclude></noinclude>include>

The embedded no include distracts the parser but is functionally a NOP (no operation), leaving the outter no include intact.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.