Admin Forum:Need to understand how

As seen Here, this whole template works with the #if thingy. What I don't get is how this template can make "other versions" and "other fields" disappear when not needed. I need some assistance in understanding how #if works so that I can apply them to future template boxes in my wiki, like http://monsterhunter.wikia.com/wiki/Template%3AInfoBoxMonster3 so I can make some content there disappear to some articles, but appear on other articles. Thanks Mckrongs 06:13, January 31, 2012 (UTC)

It's a Parser Functiom. Basically, the syntax is:

Hope this helps! 06:18, January 31, 2012 (UTC)

Hm, that explains the #if, but not so sure as to how the "other versions" and "other fields" still disappear. Mckrongs 06:22, January 31, 2012 (UTC)


 * Say for instance the following code is on a template:


 * If the variable example is used, "Example: " will be displayed. If not, "No text given" will show up. If you want to make the text disappear if the variable isn't used, rather than display the alternate text, you would apply the following: