Forum:Excluding an article from an automatically added category

I have a template that includes a category component so when you use it on a page it adds that page to a specific category. I'm also using this template in the template article to show how it works but I don't want the template to be categorised in the category that the template adds. Is there a way to stop the template from been categorised automatically and still display it in use? --JayLR 04:16, June 6, 2012 (UTC)


 * In the template, I believe you can accomplish this by using includeonly tags.


 * Where you add the category, do this:


 * This will never categorize things in templatespace (template and the documentation page, presumably... if you need to use this template in other templates, this won't work...)
 * 70.24.251.208 06:48, June 6, 2012 (UTC)
 * That's just what I was looking for. Thanks for the replies. -- JayLR 08:44, June 6, 2012 (UTC)