How to set Template Conditions for a Category and all its Child categories?

How do I display a template on a category and all its Child categroies?
For example, display a template for a single post with all these: Articles → SEO, Business, Web.

Thanks in advance!

Are you asking about a template for categories or single posts?

For Single Posts. So all Single Posts with Child categories of the same parent category share the same template.