{if $listing.pedigree_ss || $listing.pedigree_s || $listing.pedigree_sd || $listing.pedigree_ds || $listing.pedigree_d || $listing.pedigree_dd} {literal} {/literal}
{$v.name}
{$listing.pedigree_ss}
{$listing.pedigree_s}
{$listing.pedigree_sd}
{$listing.pedigree_ds}
{$listing.pedigree_d}
{$listing.pedigree_dd}
{/if}