[Mediawiki-l] Pages into Categories via templates

Jan 2036 at gmx.de
Thu Jan 11 23:08:59 UTC 2007


Hello A. (?),

simply use this in the template:
<includeonly> [[Category:Maincategory]] </includeonly>

Of course, instead if "Maincategory" you can choose another one.

Regards,
Jan



a. cremer schrieb:
> Hi there,
> 
> 
> 
> I like to design a template that puts the page into a certain category when 
> used .
> 
> 
> 
> But I do not like the template itself to appear in that category.
> 
> 
> 
> Therefore the option [[Category:MyCategory]] on the template page will not 
> do the trick.
> 
> 
> 
> I am sure the solution is easy but somehow .
> 
> 
> 
> Regards
> 
> A. Cremer
> 
> 
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 



More information about the MediaWiki-l mailing list