Forum:Titleparts not working

The code:

works fine (adds the page to the proper category) on http://en.wikipedia.org/wiki/User:Nicolasjager/Template:Test1/subtemplate1 but when I try the same code on http://shaiya.wikia.com/wiki/User:Nicolasjager/Template:Test1/subtemplate1 it adds the page to the wrong category:

Templates on User:Nicolasjager/Template:Test1 instead of Templates on User:Nicolasjager.

I've traced the reason for this to be that the   is not returning what it should return. Is titleparts not suported on wikia? If so, what else could I use to achieve the same result? Awaiting a reply, Nicolasjager 03:13, 5 April 2008 (UTC)
 * Got the following reply when asked on wikipedia: Nicolasjager 05:54, 5 April 2008 (UTC)
 * is part of an extension that Wikipedia has, but is not installed on wikia. If you want it installed, you should contact the wikia staff.--Werdan7T @ 05:26, 5 April 2008 (UTC)

So, could someone from the wikia staff install it? Where should I make such a request? Nicolasjager 05:54, 5 April 2008 (UTC)
 * The extra | you had at the end was what was messing it all up. just  (no | after the 1) is all you need for it to work. --Skizzerz talk 16:17, 5 April 2008 (UTC)

Follow up question

 * Thanks, it's working now. Now, is there any way to generalize this for all templates made?  So, I don't have to add that code to each template?  Nicolasjager 16:31, 5 April 2008 (UTC)