Thread:Project:Support desk/Creating a template that includes a category without including the template itself in the category/reply

Your code is missing, but if there's stuff you only want in the transcluded pages you just need to wrap it in tags.