Forum:Help with Conditional Statements

I'm attempting to make the edit to this page

Template:ItemInfo

and an example where it should work is here

Type STF 200

If variable rarity is blank then add this text.

it correctly adds this but it's not listed in the source so I can't then place the variations under their headers. How do I automatically add this AND then have the ability to actually add things under the headers?

also if I try to include into the if statement

it doesn't seem to work.

Any help is greatly appreciated.