Board Thread:Support Requests - Getting Technical/@comment-9421573-20161004180900

Hi,

I'm having trouble creating a template with the right parameters and parser functions. I'm working on the Monster Super League wiki, a wiki for Monster Super League, an Android game. Like the game title suggest, there are monsters in the game and while trying to make a template for monsters I did not manage to do what I wanted to. There are 5 elements and according to the monster there can be one of each element or only some of them. I'm trying to only display tabs from the first level tabber (elements) if the monster exists in this element.

Here is the template im working on. What I'd like is for the Light tab to hide completely (the tab and everything it contains) if the light.type var is left empty. I'm experienced on html, php and javascript but I'm new to wikis and I'm kind of lost with the | switching to | inside a tabber and stuff like that.

I tried editing multiple times to figure out where I made a mistake in the condition code but can't quite find it.

If anyone can help me out or redirect me to a page where this type of thing is explained, I'd appreciate it!

Thanks!

PS: Sorry if my english is not perfect, it is not my native language. 