[Mediawiki-l] noinclude doesn't work

Sean McAfee smcafee at collaborativefusion.com
Thu Oct 29 18:56:09 UTC 2009


Mary Ann Davison wrote:
> According to the documentation, I should be able to reference a template
> by doing this:
> 
>  
> 
> <noinclude>
> 
> {{NameOfTemplate}}
> 
> </noinclude>

That's not how noinclude tags work.  You'd place noinclude tags on the 
source article to prevent it from being included in any transclusion of 
that source.

 From your description of what you're looking for, I'm pretty sure what 
you're looking for is [[Template:NameOfTemplate]].

-- 
Sean McAfee
System Engineer



More information about the MediaWiki-l mailing list