Forum:Notition visible depending on content

Hey all!

For some time now, I've been looking for a way to make a notition at the top of a bar ONLY if there was certain content in the template sheet users can use to create a page.

The problem is: I just can't seem to find a way to actually make this work. Whatever I try, it just doesn't work as I wished it would work, and instead doesn't show the bar at all, no matter what was filled in.

The code in question is as followed:

The complete template can be found here: http://rageofbahamut.wikia.com/wiki/Template:Test

So to sum it up:
 * If a user enters "No" at "Obtainable", then the bar shows up with: "This card is currently not yet obtainable in game."
 * If a user enters an Event at "Event", then the bar shows up with: "This card is only available during the Event"
 * If a user enters "Yes" at Obtainable and leaves the Event part empty, the bar should not appear at all.

Thanks in advance for the help!

Yours Sincerely,

Bahumut5 14:09, July 3, 2012 (UTC)