Board Thread:Support Requests - Getting Technical/@comment-5907266-20150908190009

So, I'm working on a template here: http://soulseeker.wikia.com/wiki/Template:Hero_Page

I've got code down at the bottom right now but I'm not sure what I'm doing wrong. I'm trying to make it so that if something is input for the tab variable, then it'll add that page to the category. Otherwise, do nothing. I've never directly dealt with writing these from scratch and usually edit what I've already had available but this isn't working right. You can see an example of what it's doing here: http://soulseeker.wikia.com/wiki/Chaos_(5_Star) 