Forum:Applying a template for categories on the MediaWiki:Newpagelayout

Every page created in my wiki needs two categories: a catch-all category and a category based on input from the author of the page. I have a template that assigns these categories created to use on the MediaWiki:Newpagelayout, but I can't figure out a way to include the template on the MediaWiki:Newpagelayout without having those two categories be assigned to the MediaWiki:Newpagelayout page. I tried tags, but if I use them around the code, the template doesn't function normally when you go to create new pages. (You have to delete the for the template to appear.) Any way around this? Inpariswithyou 07:20, June 30, 2010 (UTC)


 * Please link to your wiki. Otherwise, it will be mostly guesswork. -- Fandyllic  (talk  contr) 9:20 AM PST 30 Jun 2010

Oh, sorry. It's http://igfdb.wikia.com Inpariswithyou 16:29, June 30, 2010 (UTC)


 * Interesting. I would suggest something like this, instead of using  or  :
 * It looks like the new article mechanism isn't processing  or   tags, since it isn't really template. --  Fandyllic  (talk  contr) 9:37 AM PST 30 Jun 2010
 * It looks like the new article mechanism isn't processing  or   tags, since it isn't really template. --  Fandyllic  (talk  contr) 9:37 AM PST 30 Jun 2010

Sadly, I'm not entirely sure what the #ifeq thing is that you told me to use, or where I should use it. I also noticed you changed the template on my site, but it's still not doing what I'd like it to do. *sigh* Thanks for the effort, though! Inpariswithyou 02:04, July 1, 2010 (UTC)