Post_terms token

I was wondering whether there is a way to only show child-categories if available, otherwise the parent category using: {post_terms_equipment-category}

Thank you in advance for your input.