Forum:Hiding Content if information is not present

Take a look here please. This is a template that generates information from other pages, to simply create an ancestor chart. However, if a piece of information is not yet present, an ancestor spot on the chart appears as:


 * 18.
 * 19.


 * 22.
 * 23.
 * 24.
 * 25.

as seen here.

All I want is for if some sort of information doesn't exist yet, the blanks won't appear, such as the appearance of this. Thanks for any help. - AMK152 (Talk • Contributions 04:22, 9 December 2007 (UTC)