Board Thread:Support Requests - Getting Technical/@comment-25104896-20170927090640

Hi~

I wanted to create a template which lists the relationship of a character with others. However, since not all characters have notable relationships, I'm using following code to make the line disappear, if the character doesn't have a relationship.

NAME is the relationship which differs from page to page, PAGEOFNAME is simply the name of the character with who the relationship is.

Now, my problem is, while that works perfectly, we have several mini headlines. But I only want them (and the whole white space inbetween not at all) only to appear if one of the relationships is given.

Is there an  if x or y exists (has been given) in wikitext? 