Thread:Balagog gro-Nolob/@comment-667748-20130427150023/@comment-667748-20130508081153

This is usually done via a switch parameter, aka "|caster=true". This usually works well, provided your individual rows won't also need the switch, in which case end usage is serious bloat.

Another solution, is plain and simple template duplication. When things get too complicated, simply create a brand new variant of the template. For example, you currently have "Weapons", and you want "CataTalis" template.

As for pointing you in the right direction, I'm afraid there are very little crash courses on internet. The best you can do is try to look at how other templates do it, or look at the mediawiki documentation for parser functions.

Truth be told, I hate mediawiki template programming language with a passion, but I use what I have to use.