Forum:Opposite of if

How do I make it so if something is not true, something will appear? Like if name isn't empty, something will appear. Hope that makes sense. --Burgundy (talk) 19:58, August 6, 2012 (UTC)


 * Seems like you're talking about the #if function. The description in the link is pretty much straightforward. :) — subtank  ( 7alk ) 20:07, August 6, 2012 (UTC)


 * You probably don't even need a parser function for that. You can simply use a parameter like  .
 * -- 02:41, August 7, 2012 (UTC)
 * Be careful with default values for parameters, if the parameter is explicitly set to blank then the default will not be used. Sometimes that is what you want, sometimes it isn't so be aware of that. Lunarity 07:46, August 7, 2012 (UTC)


 * Here is the source code that you are looking for. If you want the input for the variable to appear if there is input then just use what User:IcecreamKitten posted.